Monday, September 1, 2014

TypeScript

TypeScript is a typed superset of JavaScript that compiles to plain javascript.It enables to write the JavaScript the way we really think of it. We can write JavaScript in any OS, run in any browser and host in any host. It is a language for application-scale JavaScript development. Unlike JavaScript code, however, TypeScript program code must go through a compiler--one is available as open source from Microsoft. The output is formatted as JavaScript, and that code can run on any browser, and be incorporated into any JavaScript framework or server-side technology, such as node.js.
By compiling the code, TypeScript can offer many features typically associated with more traditional programming languages, such as Java and C++.TypeScript offers static typing, which requires developers to define the data type of a variable before using that variable. It also features generics which allows methods to be applied on different data types.



Copyright © Codingnodes,2014.All Rights Reserved.