How to get and use TypeScript
TypeScript has been available since October 2012, but it has gained momentum lately as new features have been added. TypeScript is open source available from its website, and the source code is available via CodePlex.
tsc.exe <input file>
The TypeScript site provides an online playground for working with the language on-the-fly, so visit the play area to get a feel for what it offers. While on the site, the samples section features a number of excellent examples of how it may be used in real-world scenarios.
What TypeScript offers
A lot of the TypeScript discussions at TechEd 2013 that I heard focused on developing Windows Store applications. With that said, the latest TypeScript version (0.9) brings generics to the language, which offers a vehicle to promote code reuse. Other features include method overloading, interfaces, internal/external modules (think namespaces) and much more. This blog post from the Microsoft team provides more information on the features of TypeScript 0.9.
Its usefulness lies in its tight integration with the current iteration of Visual Studio (and I assume future versions). All of the TypeScript documentation and content seems to highlight simplifying tool integration as a key goal of the TypeScript initiative. While Microsoft brought Visual Studio integration to the fold, others can easily integrate with their tools as well; it remains to be seen whether this will happen.
Microsoft is promising the next version of TypeScript (1.0) later this year, so stay tuned.
Keep your engineering skills up to date by signing up for TechRepublic’s free Software Engineer newsletter, delivered each Tuesday.