In total you'll get:
I work on a large older codebase that we decided to convert to TypeScript. While it has taken us some time to get there, we are at probably 95% TypeScript, and the rest should be taken care of within a month. It is definitely possible, and is easier to do the more you realize it helps you with code quality and developer happiness. It went from being a chore to being an exciting thing to convert a file over here and there.
Thanks for replying! These are good questions to ask. They are not "stupid" in my opinion :)
You do write more code with TS, but you also get a stronger sense of finding issues while coding vs finding them while they code is in production. To me, one of the biggest values in TS is that many potential bugs surface themselves at dev time vs run time.
Again, thanks for the great questions. Always good to ask - especially if something isn't quite feeling right.
Set allowJs to true in the tsconfig.json file to tell typescript to look at the js.
Why didn't you just recommend this from the start? Seems a lot simpler than to add // @ts-check to every single JS file like you said in your original comment :P
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.