When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

TypeScript 2.0 now generally available

Just under a month since the launch of the TypeScript 2.0 release candidate, Microsoft has made the final version of the programming language available to the public.

TypeScript was first launched two years ago to extend JavaScript with new features and high performance. The 2.0 version of the language delivers near compatibility with the ECMAScript standard, wider support for JavaScript libraries and tools, in addition to improved editor support.

The important features in TypeScript 2.0 are as follows:

  1. Simplified Declaration File (.d.ts) Acquisition
  2. Non-nullable Types
  3. Control Flow Analyzed Types
  4. The readonly Modifier

Developers can get the latest version of TypeScript using the Node Package Manager using the following command:

npm install -g typescript@2.0

Visual Studio 15 Preview will include support for TypeScript 2.0 in its next preview release.

Source: Microsoft

Report a problem with article
Next Article

7 Days: A week of Android flagships, Yahootastrophe, and Microsoft vs. cancer

Previous Article

Samsung to resume Galaxy Note7 sales in Europe by the end of November

Join the conversation!

Login or Sign Up to read and post a comment.

8 Comments - Add comment