DenoDDeno
Powered by
SkythedragonS
Deno•3mo ago•
1 reply
Skythedragon

Use web API's in deno lsp

✍️VS Code / LSP✨Frontend Development
I've written a small live-reloading script with deno bundle, so I can work on some small stuff that I don't feel needs the entirety of vite or similar.

I've set up the deno lsp to work with my editor, however, the files that I bundle to web do not get proper typechecking, because the lsp thinks the web API's (such as
document.getElementById()
document.getElementById()
) don't exist.

How do I tell the lsp I want to use these?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deno LSP in a Web Worker
SachinSSachin / help
3y ago
use-case: web component development in deno
berkesBberkes / help
3y ago
Adding a lib/rep to deno's lsp
TangJieHaoTTangJieHao / help
2y ago