TypeScript 4.0 has been released and is available for the Insiders version of Visual Studio Code, Visual Studio 2017, or Visual Studio 2019.

Announcing TypeScript 4.0

Here’s a punch list of what’s new:

One of the big concerns with TypeScript 4 was if there would be major breaking changes. As of now, it does not appear there will be.

To get started, install by running the following:

1
npm install -D typescript