TypeScript 6 Released: Developers Invited to Upgrade to Prepare for the Go Rewrite
Briefly

TypeScript 6 Released: Developers Invited to Upgrade to Prepare for the Go Rewrite
"The release serves as a key transition point rather than a full feature release. It focuses on technical debt elimination and standardization, preparing the ecosystem for TypeScript 7, a rewrite of the TypeScript code in Go that seeks to address core performance issues that ballooned over time. TypeScript 6 features several improvements in default settings, alignment with evolving JavaScript specifications, and deprecation of outdated compilation targets."
"The strict mode is now enabled by default. Module resolution defaults to ES modules ( esnext). The new default target aligns with current ECMAScript standards (currently es2025), reflecting the choices of a vast majority of developers who seldom transpile down to older versions. Similarly, unchecked side-effect imports are caught by default ( noUncheckedSideEffectImports setting). In case the new defaults would break their project, developers can still set the default values explicitly in their tsconfig.json."
TypeScript 6 (beta) standardizes defaults, reduces technical debt, and prepares the ecosystem for a major compiler rewrite in Go for TypeScript 7. Strict mode is enabled by default, module resolution defaults to ES modules (esnext), and the default target aligns with modern ECMAScript (currently es2025). Unchecked side-effect imports are caught by default, and developers can override defaults via tsconfig.json. The release implements Node.js subpath imports, supports the RegExp Escaping ECMAScript proposal, and improves DOM Iterable typings. It deprecates ES5 targets, AMD/UMD modules, baseUrl, and out-file bundling to streamline implementations and reflect modern evergreen environments.
Read at InfoQ
Unable to calculate read time
[
|
]