Typescript History
Let see important landmarks from the history of Typescript:
- After two years of internal development at Microsoft. TypeScript 0.9, released in 2013
- Additional support for generics TypeScript 1.0 was released at Build 2014
- In July 2014, a new TypeScript compiler came which is five times faster than it’s the previous version.
- In July 2015, support for ES6 modules, namespace keyword, for, of support, decorators.
- In November 2016, an added feature like key and lookup types of mapped types, and rest.
- On March 27, 2018, conditional types, the improved key with intersection types supports added in the Typescript.
Why use Typescript?
Here, are important pros/benefits of using Typescript
- Big and complex project in JavaScript are difficult to code and maintain.
- Typescript helps a lot in code organization and yet gets rid of most of the errors during compilation.
- TypeScript supports JS libraries & API Documentation
- It is optionally typed scripting language
- TypeScript Code can be converted into plain JavaScript Code
- Better code structuring and object-oriented programming techniques
- Allows better development time tool support
- It can extend the language beyond the standard decorators, async/await
Who uses Typescript?
Here, are some most common applications of Typescript:
- The angular team uses Typescript.
- NodeJS and NPM Installation
- Typescript Installation
- Compile Typescript code to Javascript
- Execute Code using Nodejs
- Execute Javascript in Browser
- Compile Typescript code to Javascript using EcmaScript version
- You can easily compile code written in typescript to JavaScript using NodeJS.
- So to work with typescript you need first to download and install NodeJS.