TypeScript 4.0 Announced
●
Permalink
●
suggest edit
TypeScript 4.0 has been released and is available for the Insiders version of Visual Studio Code, Visual Studio 2017, or Visual Studio 2019.
Here’s a punch list of what’s new:
- Variadic Tuple Types
- Labeled Tuple Elements
- Class Property Inference from Constructors
- Short-Circuiting Assignment Operators
unknownoncatchClauses- Custom JSX Factories
- Speed Improvements in
buildmode with--noEmitOnError --incrementalwith--noEmit
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
Jason N. Gaylord

