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.
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 email@example.com
Visual Studio 15 Preview will include support for TypeScript 2.0 in its next preview release.