Microsoft announces the release of TypeScript 5.0

TechGig
2 min readMar 20, 2023

--

Most developers shouldn’t have any trouble upgrading to TypeScript 5.0 despite some breaking changes and deprecations.

There are more than 50 new features and performance enhancements in TypeScript 5.0, including decorators, improved support for EM projects in Node and bundlers, and JSDoc functionality, Microsoft said in a statement

“Today we’re excited to announce the release of TypeScript 5.0! This release brings many new features, while aiming to make TypeScript smaller, simpler, and faster,” the statement said.

ESM projects are also better supported in the new version via Node and bundlers so that library authors can control generic inference in new ways. Moreover, TypeScript 5.0 includes a number of enhancements, including the expansion of JSDoc capability and the simplification of settings. Moreover, it has optimizations for memory, performance, and package size.

“ We’ve implemented the new decorators standard, added functionality to better support ESM projects in Node and bundlers, provided new ways for library authors to control generic inference, expanded our JSDoc functionality, simplified configuration, and made many other improvements,” it added.

Most developers shouldn’t have any trouble upgrading to TypeScript 5.0 despite some breaking changes and deprecations.

NuGet or NPM can be used to get the new version. Visual Studio Code developers can use the instructions on how to use the newer version of TypeScript.

Various code structures, data structures, and algorithmic implementations have been transformed in TypeScript 5.0 by Microsoft.

“What these all mean is that your entire experience should be faster — not just running TypeScript but even installing it,” says Microsoft. The company has also revealed that work on TypeScript 5.1 is already underway, with plans available on GitHub.

For more such content, visit: https://bit.ly/3ijY5Gt

--

--

TechGig

India's Largest Tech Community | 4.9 Million+ Developers | Guinness World Record Winner | Limca Book of Records