It matches Node's built-in TypeScript support, guiding users away from...
TS-only runtime features
❌ enum
❌ namespace
❌ parameter properties
❌ import x =
Legacy type features
❌ <> type assertions
Remember: TS = JS + Types 💙
🔶 "nodenext" gets require(ESM)
🔶 "nodenext" deprecates Import Assertions
🔷 --erasableSyntaxOnly flag for Node
🔷 Granular return checks
🔷 DTS: Computed property name preservation
🔷 Perf: --libReplacement flag
🔷 Perf: Program load optimizations
✅ Better Checks on return expressions
✅ Support for require(esm) in --module nodenext
✅ --libReplacement to speed up program loading
✅ --erasableSyntaxOnly
and more! Try it today!
devblogs.microsoft.com/typescript/a...
It matches Node's built-in TypeScript support, guiding users away from...
TS-only runtime features
❌ enum
❌ namespace
❌ parameter properties
❌ import x =
Legacy type features
❌ <> type assertions
Remember: TS = JS + Types 💙