12 ms·
Yes. Simply install TS and make a jsconfig.json file, Vscode will pick it up automatically.
by emteycz 6y ago
Yes. Simply install TS and make a jsconfig.json file, Vscode will pick it up automatically.
- tgv 6y agoYou need to add // @ts-check at the top of the file: https://www.typescriptlang.org/docs/handbook/intro-to-js-ts.html https://www.typescriptlang.org/docs/handbook/intro-to-js-ts....
- moron4hire 6y agoThere is a config setting for enabling it globally now https://www.typescriptlang.org/tsconfig#checkJs https://www.typescriptlang.org/tsconfig#checkJs
- afiori 6y agoI was missing this, thank you.