After installing coc-deno JavaScript files give TypeScript errors
See original GitHub issuefile.js
const fn = (arg) => undefined;
I get the error:
Error [tsserver 7006] Parameter 'arg' implicitly has an 'any' type.
When running:
yarn tsc --allowJs --noEmit file.js No implicit any error, and why would there be? This is a JS file.
Any idea how I could get back to tsserver checking js files but without giving me errors that only apply to ts files?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Still getting linting errors when importing with `.ts` extension.
I'm still getting error from tsserver when importing .ts files, ... After installing coc-deno JavaScript files give TypeScript errors #25.
Read more >Typescript errors in javascript files
I have a file, Tab.jsx (note, it's a javascript file) with the following contents: const Tab = styled.div` {tab styles are here} `...
Read more >Detect JavaScript errors during compile time using ...
During compile-time TypeScript can emit errors to a terminal, ... Let's create simple file in src folder called app.js and put some code ......
Read more >TypeScript errors and how to fix them
A list of common TypeScript errors and how to fix them.
Read more >Setup your environment | Manual
Vim works fairly well for Deno/TypeScript if you install CoC (intellisense engine and language server protocol). After CoC is installed, from inside Vim,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You should disable this extension for non-deno project. Same issue #7.
@pheuberger did you try uninstalling coc-deno?
If you did, and you’re still getting them, it’s not this plugin.
On the odd chance that it still is something this plugin did I suppose you could always clear out your coc folder and reinstall plugins one-by-one.