npm install -g typescript
Visual Studio 2015 users (who have Update 3) will be able to get TypeScript by simply installing it from here. Visual Studio 2017 users using Update 2 will be able to get TypeScript 2.4 from this installer.
Built-in support for 2.4 should be coming to other editors very soon, but you can configure Visual Studio Code and our Sublime Text plugin to pick up any other version you need.
Here is the list of new features:
- Dynamic Import Expressions
- Improved inference for generics
- Strict contravariance for callback parameters
- Weak Type Detection