Announcing TypeScript 5.7 RC

Announcing TypeScript 5.7 RC
-
TypeScript 5.7 introduces Path Rewriting for Relative Paths, allowing TypeScript files to be imported with the appropriate TypeScript extension at runtime. This enables running TypeScript code "in-place" without the need for a build step generating output JavaScript files.
-
TypeScript now searches ancestor configuration files for project ownership, ensuring that the relevant configuration file is identified when a TypeScript file is loaded in an editor.
-
TypeScript 5.7 enhances the speed of project ownership checks in editors for composite projects, making it more efficient to determine project ownership in large codebases.
-
The
Promise.allSettled
andWeakRef
types are now generic over values in TypeScript 5.7, aligning with future changes in ECMAScript 2024.
For more detailed information on each feature, refer to the full TypeScript 5.7 RC announcement.