News

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

Featured

  • Microsoft Revamps Fledgling AutoGen Framework for Agentic AI

    Only at v0.4, Microsoft's AutoGen framework for agentic AI -- the hottest new trend in AI development -- has already undergone a complete revamp, going to an asynchronous, event-driven architecture.

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

  • Microsoft Execs to Tackle AI and Cloud in Dev Conference Keynotes

    AI unsurprisingly is all over keynotes that Microsoft execs will helm to kick off the Visual Studio Live! developer conference in Las Vegas, March 10-14, which the company described as "a must-attend event."

Subscribe on YouTube