When to use TypeScript
The tagline for TypeScript is, “JavaScript that scales”. That is exactly the use case for TypeScript. It allows building large modern web applications that scale well. With a lot of type safety and predictability, it allows for early detection of bugs and at the end of the day results in more resilient software.

It was ranked second in the StackOverflow developer’s survey, behind Rust. Even though JavaScript is the most used language on GitHub, TypeScript is the fastest growing language, currently at the 4th position.