Why we need it?
That is how TypeScript is born.
- Type annotations and compile-time type checking
- Arrow functions (Lambda functions)
Existing frameworks such as JQuery and Node.js are fully supported. Type declarations for these libraries are provided with the source code.
Supported web browsers and platforms
The TypeScript Compiler
The TypeScript compiler, or
It is also available as a Node.js package that is using Node.js as a host.
The current version of the compiler supports ECMAScript 3 by default. An option is allows to target ECMAScript 5 to make use of language features exclusive to that version.
Classes, despite being part of the ECMAScript 6 standard, are available in both modes.