I Needed to Use My Existing Code Base
One of the first and most important parts of my decision is that I have code that I had collected over the years that I would love to reuse without having to migrate or make compatible with a new language. With TypeScript I can use existing code like plug and play without having to make drastic modifications.
It is Mature
Before investing time and developing using a tool, language or platform, I need to make sure that it is out of beta and future changes are not going to break anything. Right now, TypeScript is mature enough that you can feel confident developing applications with it. The language was released in October of 2012, and it is still getting more popular. In addition, I personally haven’t found a big issue upgrading from one version to another, which is very important in this always evolving web development field.
Strict Type Checking
Great support and community
Before I learn any tool, I like to check how it is received by the community who created it, how big is its community, and what big player is supporting it and using it. TypeScript was created by Microsoft, and it is maintained by Anders Hejlsberg, which is the creator of C# and Turbo Pascal. Therefore, the language is in good hands in term of support by a large corporation and a good leader. Besides, TypeScript is well received by the community. Even Google and other big players are using it in production.
It’s Supported By Modern Tools
Most of the popular IDE’s and editors have support for TypeScript. This is very important because you don’t want to move into an environment that you are not accustomed to just to program on TypeScript. Besides, popular projects like Angular and Ionic are using TypeScript. In fact, we can create applications with TypeScript and other popular open source projects like React and Vue.