Deno 2.0 TS errors on fresh project
I created a new project with Deno 2 using
deno init test-proj
Immediately, I have Typescript errors I'm not sure how to fix.
Property 'main' does not exist on type 'ImportMeta'.ts(2339)
Screenshot shows output of deno --version
and the error
2 Replies
Make sure you have Deno extension installed. From the screenshot it looks like it's not installed - you'd have "Deno v..." In the bottom right hand corner
thank you! that did it.