Microsoft today released TypeScript 2.1, introducing a handful of improvements. The new release is an update to TypeScript 2.0, so it doesn’t introduce a lot of major new features but it still adds some pretty nice improvements.
With TypeScript 2.1, Microsoft is introducing a smarter interface, async functions, and more. In a blog post, the company stated:
This release comes with features that we think will drastically reduce the friction of starting new projects, make the type-checker much more powerful, and give you the tools to write much more expressive code.
We’ve written previously about some great new things 2.1 has in store, including downlevel
awaitand significantly improved inference, in our announcement for TypeScript 2.1 RC, but here’s a bit more about what’s new in 2.1.
You can get more info about TypeScript 2.1 here, and download it with npm.