Top
image credit: Adobe Stock

TypeScript 4.7 and 4.8 Beta Releases Add ESM for Node.js and Better Type Inference

July 29, 2022

Via: InfoQ

The TypeScript team announced the release of TypeScript 4.8 beta and TypeScript 4.7, which introduces ES Module (ESM) support for Node.js, improved type inference and control flow analysis, and significant performance improvements.

Since ES6 introduced modules in 2015, work has been underway to move the JavaScript and TypeScript ecosystems to the native module format. Early usage was primarily limited to authoring, with build tools such as Webpack and transpilers such as TypeScript converting code to modules that would run in various environments.

Read More on InfoQ