Closed
Description
https://devblogs.microsoft.com/typescript/announcing-typescript-5-1-beta/
This issue is just to track all of the new features and their implementation state in this project.
As with all releases, we will not necessarily to support all features until closer to the full release when everything the features are stabilised.
Please be patient.
✅ ES2020 and Node.js 14.17 as Minimum Runtime Requirements
As part of our upcoming v6 release we've bumped our minimum node to v16.
This does not impact us as it's up to the user to use a supported node version for their selected TS version.
✅ lib.d.ts Updates
We will need to regenerate our types within scope-manager
.
Other changes with no impact to us
- 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
- TS already supported parsing namespaced attributes and we have AST types for it - so this is a no-op for us.
typeRoots
Are Consulted In Module Resolution- Linked Cursors for JSX Tags
- Snippet Completions for
@param
JSDoc Tags - Avoiding Unnecessary Type Instantiation
- Negative Case Checks for Union Literals
- Reduced Calls into Scanner for JSDoc Parsing
- Explicit
typeRoots
Disables Upward Walks fornode_modules/@types