Home App Microsoft launched TypeScript version 5.0: easier for developers and faster

Microsoft launched TypeScript version 5.0: easier for developers and faster

0

According to foreign technology media InfoWorld reported that Microsoft released TypeScript 5.0 on March 16. Microsoft said the new version is smaller, easier for developers to get started and faster.

TypeScript 5.0 introduces a new decorators standard, adds new features to better support ESM projects in Node and its bundles, provides new ways for library owners to control generic inference, extends JSDoc functionality, simplifies configuration, and makes many other improvements.

This update significantly reduces the size of ECMAScript modules and improves runtime performance. It also allows decorators to be placed before or after export and export default.

Also in TypeScript 5.0, developers can now add the const modifier to type parameter declarations to make cons t-like inferences the default.

Exit mobile version