🥶 Announcing TypeScript 6.0
Over six months in the making, TypeScript 6.0 is designed to bridge the gap between its self-hosted compiler and the (almost ready) Go-powered native compiler of TypeScript 7.0 .
There are new features (Temporal improvements, RegExp.escape, and more), but most important are the changes to help you prepare for 7.0:
• Numerous default changes: strict is now true, module is esnext, rootDir defaults to ., and more.
• A change that will affect many apps is types defaulting to [] rather than pulling in everything from node_modules/@types.
• Numerous deprecations: the es5 target, emitting AMD, UMD, and SystemJS modules, --baseUrl, and others.
• --stableTypeOrdering makes 6.0's type ordering behavior match 7.0's to help diagnose inference differences as you update.
Daniel Rosenwasser (Microsoft)
Post #3093
2.86K

- ❤ 12
- 👍 3
- 🔥 2