Microsoft has announced the release of TypeScript 5.1 RC.
Announcing TypeScript 5.1 RC
oday we’re excited to announce our Release Candidate of TypeScript 5.1! Between now and the stable release of TypeScript 5.1, 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.1!
- Easier Implicit Returns for undefined-Returning Functions
- Unrelated Types for Getters and Setters
- Decoupled Type-Checking Between JSX Elements and JSX Tag Types
- Namespaced JSX Attributes
- typeRoots Are Consulted In Module Resolution
- Move Declarations to Existing Files
- Linked Cursors for JSX Tags
- Snippet Completions for @param JSDoc Tags
- Optimizations
- Breaking Changes
Announcing TypeScript 5.1 RC