What is TypeScript?
The definition is taken from Wikipedia.
The definition above condenses in one sentence what TypeScript is all about.
But let's have a look at what this actually means.
The second part of the definition states that TypeScript adds optional static typing to the language.
Static typing is the most important advantage of using TypeScript. We can add types to the functions and variables in our application.
Often, TypeScript can infer a variable's type by looking at the value we use to initialize it.