Yesterday, Microsoft announced the release of TypeScript Beta 2.0. With this release, couple of new features were introduced which include:
- Non-nullable Types
- Control Flow Analysis for Types
- Easier Module Declarations
To start seeing these features in action, open your command prompt or terminal and run the following command:
npm install -g typescript@beta
You also can read more about the features and enhancements on GitHub.