Skip to content

TypeScript 5.1 Support #6934

Closed
Closed
@bradzacher

Description

@bradzacher

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
  • 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 for node_modules/@types

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions