TypeStrong / atom-typescript

The only TypeScript package you will ever need
https://atom.io/packages/atom-typescript
MIT License
1.13k stars 205 forks source link

Can we typecheck plain JavaScript files? #1498

Closed trusktr closed 5 years ago

trusktr commented 5 years ago

Is it possible to use atom-typescript to typecheck regular JS files (like VS Code)?

lierdakil commented 5 years ago

https://github.com/TypeStrong/atom-typescript/blob/master/docs/faq.md#i-want-to-use-atom-typescript-with-javascript-too

Note: you also need allowJs and checkJs in your tsconfig.json.

trusktr commented 5 years ago

Thanks! Seems to work great! Nice to be able to incrementally convert them to .ts files.