The release candidate for TypeScript 5.3 is now available.
Announcing TypeScript 5.3 RC
Today we’re excited to announce our Release Candidate of TypeScript 5.3! Between now and the stable release of TypeScript 5.3, we expect no further changes apart from critical bug fixes.
To get started using the RC, you can get it through NuGet, or through npm with the following command:
npm install -D typescript@rc
Here’s a quick list of what’s new in TypeScript 5.3!
- Import Attributes
- Stable Support
resolution-mode
in Import Typesresolution-mode
Supported in All Module Modesswitch (true)
Narrowing- Narrowing On Comparisons to Booleans
instanceof
Narrowing ThroughSymbol.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
- Consolidation Between
tsserverlibrary.js
andtypescript.js
- Breaking Changes and Correctness Improvements