TypeScript 6.0 RC is now available, serving as a transition release bridging TypeScript 5.9 and the upcoming native Go-based TypeScript 7.0. Key new features include improved type inference for this-less functions, support for subpath imports starting with #/, combining --moduleResolution bundler with --module commonjs, es2025 target/lib support, built-in Temporal API types, Map.getOrInsert methods, and RegExp.escape. The release also consolidates dom.iterable into dom. Major breaking changes include: strict mode enabled by default, module defaults to esnext, target defaults to es2025, types defaults to [] (empty array), rootDir defaults to tsconfig.json directory, and deprecations of es5 target, --moduleResolution node/classic, AMD/UMD/SystemJS modules, baseUrl, outFile, esModuleInterop false, and legacy module namespace syntax. A new --stableTypeOrdering flag helps diagnose differences between 6.0 and 7.0 output.
Table of contents
What’s New Since the Beta? Copy linkLess Context-Sensitivity on this -less Functions Copy linkSubpath Imports Starting with #/ Copy linkCombining --moduleResolution bundler with --module commonjs Copy linkThe --stableTypeOrdering Flag Copy linkes2025 option for target and lib Copy linkNew Types for Temporal Copy linkNew Types for "upsert" Methods (a.k.a. getOrInsert ) Copy linkRegExp.escape Copy linkThe dom lib Now Contains dom.iterable and dom.asynciterable Copy linkBreaking Changes and Deprecations in TypeScript 6.0 Copy linkPreparing for TypeScript 7.0 Copy linkWhat’s Next? Copy link7 Comments
Sort: