logo

TypeScript

- July 24, 2020

Photo by Simone Hutsch on Unsplash

TypeScript is flexible

you can adopt typescript progressively. It's opt-in. Javascript is valid Typescript.

The code is more robust

TypeScript helps to make more robust code.

Giving a type to each piece of data is a way to structure your data

Team collaboration is easier

It makes cooperation between developers easier and more productive.

The type system is a way to specify what kind of data we want to work with. By being more explicit, we remove confusion or potential misunderstandings.

The IDE is more powerful

It makes the IDE more helpful. The IDE is able to spot inconsistencies before code execution. It can give you better autocompletion.