Tuesday’s release of Visual Studio 2013 Update 2 includes TypeScript as a built-in programming language for the IDE. The company has also posted the first release candidate of what will be the production-ready version of the language, TypeScript 1.0.
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.
Incorporating static typing and classes allows the IDE to provide more support for developers, though the use of tools such as Visual Studio’s IntelliSense code completion tool, Hejlsberg said. TypeScript plug-ins are also available for other IDEs, such as Eclipse and JetBrains WebStorm.
Microsoft has also been using the language in-house for projects such as Monaco, a Web-based version of Visual Studio under development.
“It was pretty clear that even though TypeScript was still early in its development, it was something that could give us good benefits,” Enns said.