TypeScript 5.8 reaches general availability
Briefly

TypeScript 5.8 builds upon the improvements of version 5.7 by optimizing build times and file change updates. Key advancements include reducing unnecessary resource allocations during path normalization and avoiding re-validation of unchanged project configurations. The update also introduces a stable --module node18 flag specifically for Node.js 18 users to minimize errors when using ECMAScript modules. Additionally, developers can leverage the --erasableSyntaxOnly flag to ensure that TypeScript-specific constructs do not affect runtime behavior, facilitating the conversion to JavaScript.
TypeScript 5.8 enhances program build efficiency by optimizing file change updates, reducing array allocations for path normalization, and avoiding unnecessary re-validation of unchanged project structures.
The new stable --module node18 flag provides a reference for Node.js 18 users, preventing ESM require() errors, unlike the more flexible but unstable nodenext option.
Read at InfoWorld
[
|
]