Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
TypeScript (TS) is a superset of JavaScript (JS), created at Microsoft in response to frustration developing large-scale applications in JS. In a large JS project, knowing what properties your own objects have, what arguments your functions take (and what type they need to be) can become difficult. Similarly, since there is no ability to intelligently inspect JS code, when you include a package (like from
npm
), you have to keep the documentation up so you know what methods are available and what arguments they take. TS solves these issues. It is currently an open-source project hosted on Github. It supports tools for any browser as well as Node, for any host, on any OS. TS compiles to readable, standards-based JavaScript.