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:
- Simplified Declaration File (.d.ts) Acquisition
- Non-nullable Types
- Control Flow Analyzed Types
- 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
8 Comments - Add comment