DEV Community

Discussion on: Pitch me on TypeScript

Collapse
 
sirseanofloxley profile image
Sean Allin Newell

I feel like ppl are doing the pros/cons or a deep dive below๐Ÿ‘‡ whichbis all well and good.... But I'm gonna pitch it!

You should use typescript because it adds a robust type system you can incrementally adopt with ever growing support from the community and your favorite libraries not to mention the weight of Microsoft behind it. A fully typed codebase will allow you to do powerful type driven refactoring ๐Ÿ’ช. And beyond the editor and DX you can enforce type safety in youe CI pipelines. Typescript lets you progressively type your codebase with escape hatches like unknown and any. The documentation is incredibly well maintained and easy to navigate to learn, and aince it's open source you can easily find the context of more complex features and even learn a little type theory along the way if I have time and interest.