re: Thoughts on migrating to TypeScript and improving the overall quality of the frontend DEV codebase VIEW POST

re: 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 st...

Oh, I didn't know that I can run typescript compiler on javascript code without modifying the existing code. Thanks, I'll give it a try.

Set allowJs to true in the tsconfig.json file to tell typescript to look at the js.

Good luck!

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

code of conduct - report abuse