DEV Community

Discussion on: No, TypeScript is not a waste of time.

Collapse
 
jwkicklighter profile image
Jordan Kicklighter

Thank you for clearing up a lot of misrepresentated info from the original post.

Collapse
 
cubiclebuddha profile image
Cubicle Buddha

Yes! It’s nice to see the pros of static type analysis properly represented.

But honestly, I’d just like to see people give the tooling a shot. Once you try it you just might love it. I know I do! :)

Collapse
 
resir014 profile image
Resi Respati • Edited

Speaking of tooling, I forgot to mention Babel's integration with TypeScript via @babel/preset-typescript on the post, which was a game changer indeed. For large projects already tied to the Babel toolchain, it's finally safe to include TS into the toolchain, while keeping all the great features of Babel. It also allows you to use the many plugins that the ecosystem provides (e.g. babel-plugin-styled-components).

Oh, and all @babel/preset-typescript does was strip out the type checking, type-checking is still done by the TS service (and is pluggable to a CI service). Which is really useful for those who want to edit, save, and preview/debug quickly without type errors constantly blaring at them. :)

Thread Thread
 
cubiclebuddha profile image
Cubicle Buddha

Don’t forget how awesome Create-React-App —TypeScript is. It just works! :)