Microsoft Releases TypeScript 0.9

The big update in the latest version is the introduction of generics.

TypeScript, Microsoft's popular superset of JavaScript that allows developers to build more robust JavaScript applications, has been upgraded to version 0.9.

S. Somasegar, VP of Microsoft's Developer Division, announced the new iteration on his blog. The big release in version 0.9 is the introduction of generics, which Somasegar said was "the most publically-requested feature."

Microsoft's C# Programming Guide describes generics as "type parameters, which make it possible to design classes and methods that defer the specification of one or more types until the class or method is declared and instantiated by client code." Generics were first introduced to C# 2.0 and the common language runtime (CLR).

In addition, Somasegar said TypeScript 0.9 includes "important new language features and improved tooling capabilities", and the TypeScript language service has been enhanced to support large-scale development. It's been "completely rewritten" for better performance, and should improve the ability to build Web and Windows Store applications.

TypeScript, which Microsoft makes available as open source under the Apache 2.0 license, has a number of advantages that make it attractive to traditional .NET developers. It's statically typed, and has classes, modules and type inference. A TypeScript plugin for Visual Studio 2012 supports full IntelliSense, static error messages, code navigation, refactoring, symbol-based navigation and statement completion among other features.

TypeScript was first unveiled last October. Microsoft has emphasized that TypeScript is JavaScript: it compiles to JavaScript and can be used in any browser, any host, and can be used with any operating system. It's fully standards compliant and completely cross-platform.

About the Author

Keith Ward is the editor in chief of Virtualization & Cloud Review. Follow him on Twitter @VirtReviewKeith.

comments powered by Disqus


  • Microsoft's Tools to Fight Solorigate Attack Are Now Open Source

    Microsoft open sourced homegrown tools it used to check its systems for code related to the recent massive breach of supply chains that the company has named Solorigate.

  • Microsoft's Lander on Blazor Desktop: 'I Don't See a Grand Unified App Model in the Future'

    For all of the talk of unifying the disparate ecosystem of Microsoft-centric developer tooling -- using one framework for apps of all types on all platforms -- Blazor Desktop is not the answer. There isn't one.

  • Firm Automates Legacy Web Forms-to-ASP.NET Core Conversions

    Migration technology uses the Angular web framework and Progress Kendo UI user interface elements to convert ASP.NET Web Forms client code to HTML and CSS, with application business logic converted automatically to ASP.NET Core.

  • New TypeScript 4.2 Tweaks Include Project Explainer

    Microsoft shipped TypeScript 4.2 -- the regular quarterly update to the open source programming language that improves JavaScript with static types -- with a host of tweaks including a way to explain why files are included in a project.

Upcoming Events