Cannot find name 'document'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'.ts(2584)

前端 未结 0 1361
温柔的废话
温柔的废话 2020-12-05 19:02

I want to convert a html string to a html element in deno with typescript. I found this function for it:

function createElementFromHTML(htmlString: string) {
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题