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.
IDE & Tooling Support
Microsoft provides a plug-in for Visual Studio 2012 as well as basic text editor support for Sublime Text, EMACS and Vim
The TypeScript website has an interactive Playground that provides a rich coding experience.
TypeScript is Free & OpenSource
The TypeScript language specification is available under Open Web Foundation and the compiler implementation is available as Open Source.
You can find codeplex repository of TypeScript at http://typescript.codeplex.com/
For more information on TypeScript :
- Walk through the tutorial .
- Try it out in the Playground .
- Check out the sample apps .
- Read the language specification .
Information References & Courtesy: