Strong static typing: The TypeScript Language Service (TLS) offers the option of type inference system and static typing. You can use TLS to infer the type of a variable based on its value.
Portability: TypeScript works well across different devices, monitors and browsers. Unlike other languages, it doesn’t require a specific environment or dedicated VM to execute.
Polyfill for ES6 fat-arrow syntax: TypeScript supports fat arrow syntax implementation, which is a shorter and more convenient syntax compared to the traditional definition of functions.
Built and maintained by Microsoft: Because it is built by a reliable brand, TypeScript is more likely to receive long-term support compared to other open source programming languages.
- Type inference
- Type annotations
- Compile time checking
- Type erasure
- Enumerated types
- TypeScript is an open source and free.