I get an error that document cannot be found. It's asking if I am trying to change the library. but when running deno run -allow-all --unstable it works
error: TS2584 [ERROR]: Cannot find name 'document'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'. const rows = document.querySelectorAll(".review-history-table tbody tr"); ~~~~
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.