TypeScript 2.1 introduces improved features

Reading time icon 1 min. read


Readers help support MSPoweruser. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help MSPoweruser effortlessly and without spending any money. Read more

Microsoft TypeScript

typescript-cover-image

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 async/await and 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.

More about the topics: java, javascript, JS, TypeScript, TypeScript 2.1