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
1474746239_7-days-2016-09-24a
Next Article

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

1470201749_screen_shot_2016-08-02_at_10.20.42_pm
Previous Article

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

8 Comments - Add comment

Advertisement