Deno avoid import path cannot end with a .ts extension error in vscode warning
A common error when starting out coding with Deno is this annoying awarning about not being allowed to import using file extentions.
An import path cannot end with a '.ts' extension. Consider importing './data/plays.js' instead.ts(2691)
To get around this is pretty easy easy.
1. Install Deno extensions
2. Enable deno.lint
CTRl+, to bring up the settings panel and search for
This will create a
settings.json file in your
3. Next add some configurations.
Stay up to date
Consider keeping up to date with software development and design by signing up to my newsletter.I will only email you when I make a new post.