Cannot find name 'Deno'.ts(2304)
Hello,
I am using VS Code and Typescript and I have this error. I have downloaded the latest extension as well as the CLI. I have the latest Typecript version as well. I have also enabled Dino in my workspace.
Thanks for your help.
7 Replies
Does running the
Deno: enable
command help in vs code? It looks like it's not active as errors thrown by Deno are marked as deno-ts(<number>)
instead of ts(<number>)
like in your screenshot@marvinh. it doesn’t help
It’s strange because when I ctrl click on Deno I can go to definition
But typescript still shows the error
Yeah it's strange that the built-in TypeScript language server is still active. I'm too familiar with the internals of the deno lsp, maybe @nayeemrmn can take a look
@marvinh. Problem fixed, I had to disavle typescript syntax linting in my settings
For future reference, can you tell me what the name of that setting is?
@nayeemrmn yes!