TypeScript 5.3 Beta has been announced, introducing new features such as import attributes, narrowing based on comparisons, and interactive inlay hints for types. It also includes optimizations in JSDoc parsing and non-normalized intersections. The release consolidates the tsserverlibrary.js and typescript.js bundles, resulting in a reduction in package size. TypeScript 5.3 is feature-stable and will focus on bug fixes and polishing before the stable release.

9m read timeFrom devblogs.microsoft.com
Post cover image
Table of contents
Announcing TypeScript 5.3 BetaImport AttributesStable Support resolution-mode in Import Typesswitch (true) NarrowingNarrowing On Comparisons to Booleansinstanceof Narrowing Through Symbol.hasInstanceChecks for super Property Accesses on Instance FieldsInteractive Inlay Hints for TypesOptimizations by Skipping JSDoc ParsingOptimizations by Comparing Non-Normalized IntersectionsConsolidation Between tsserverlibrary.js and typescript.jsBreaking Changes and Correctness ImprovementsWhat’s Next?

Sort: