TypeScript 5.3 has been released with various new features, including import attributes, support for `resolution-mode` in import types, narrowing on comparisons to booleans, `instanceof` narrowing through `Symbol.hasInstance`, checks for `super` property accesses on instance fields, interactive inlay hints for types, settings to prefer `type` auto-imports, optimizations by skipping JSDoc parsing, optimizations by comparing non-normalized intersections, and consolidation between `tsserverlibrary.js` and `typescript.js`.

10m read timeFrom devblogs.microsoft.com
Post cover image
Table of contents
Announcing TypeScript 5.3What’s New Since the Beta and RC?Import AttributesStable Support resolution-mode in Import Typesresolution-mode Supported in All Module Modesswitch (true) NarrowingNarrowing On Comparisons to Booleansinstanceof Narrowing Through Symbol.hasInstanceChecks for super Property Accesses on Instance FieldsInteractive Inlay Hints for TypesSettings to Prefer type Auto-ImportsOptimizations by Skipping JSDoc ParsingOptimizations by Comparing Non-Normalized IntersectionsConsolidation Between tsserverlibrary.js and typescript.jsBreaking Changes and Correctness ImprovementsWhat’s Next?
2 Comments

Sort: