News for hackers. Stuff that matters.
Re:Ask HN: Are there any downsides of using TypeScript? by smt88 on Monday July 16, 2018 @04:23PM (#17544760)
I have not encountered any downsides except very, very minor ones. The upside is MASSIVE and renders those downsides meaningless.

Speed/development heaviness is not an issue because you can skip typing whenever you want and just write ES6+.

Non-TS libraries are easy to import and use. I use one or two, but most libs have type defs available.

Testing is the same as in JS. There are type defs available for the major JS testing suites.

Re:Ask HN: Are there any downsides of using TypeScript? by andreygrehov on Monday July 16, 2018 @04:41PM (#17544890)
Awesome. I think you even answered the question I asked above. Thank you. Convinced and going to go with TS.
Re:Ask HN: Are there any downsides of using TypeScript? by smt88 on Monday July 16, 2018 @09:47PM (#17546686)
My last suggestion is to opt into the strictest type checks from the beginning (using your tsconfig file). They can be annoying, but you'll benefit in the long run.
Re:Ask HN: Are there any downsides of using TypeScript? by jmlee2k on Monday July 16, 2018 @05:12PM (#17545178)
Good choice, you won't regret it!