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
•30m read time• From devblogs.microsoft.com
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: