TypeScript 5.0 shipped this week, with support for the new decorators standard and a smaller npm footprint than TypeScript 4.9. Microsoft’s https://github.com/DanielRosenwasser, programmer manager for https://thenewstack.io/improve-your-typescript-skills-with-type-challenges/, explained the https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/, promising that 5.0 “is not a disruptive release, and everything you know is still applicable.”

“This release brings many new features, while aiming to make TypeScript smaller, simpler, and faster,” Rosenwasser said.

The new release also offers a smaller typical npm package size, at 37.4 MB compared to 63.8 MB for Typescript 4.9, according to Rosenwasser’s write-up.

To get started using TypeScript 5.0, you can get it through NuGet, or use npm with the following command: npm install -D typescript

Related Articles