TypeScript 4.7 and 4.8 Beta Releases Add ESM for Node.js and Better Type Inference
TypeScript 4.7 and 4.8 introduce ES Module (ESM) support for Node.js, improved type inference and control flow analysis, and significant performance improvements.
Source: infoq.com