New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript 4.7 Support #4800
Closed
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
AST
PRs and Issues about the AST structure
dependencies
Issue about dependencies of the package
New TypeScript Version
Comments
bradzacher
added
dependencies
Issue about dependencies of the package
AST
PRs and Issues about the AST structure
labels
Apr 9, 2022
Can I work on this? I know it is premature as TS 4.7 is still in beta, but after the RC version is released, typescript-eslint needs to support the feature as soon as possible. |
If you'd like to put up some early PRs based on the beta - feel free! Though as you mention, we won't consider merging them till after the RC is released. |
bradzacher
added
the
accepting prs
Go ahead, send a pull request that resolves this issue
label
Apr 17, 2022
This was referenced Apr 17, 2022
3 tasks
4.7 is now in RC! |
3 tasks
3 tasks
This was referenced May 25, 2022
3 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
AST
PRs and Issues about the AST structure
dependencies
Issue about dependencies of the package
New TypeScript Version
https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-rc/
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.
🔲 New Extensions
We'll want to add
.cjs
,.mjs
,.mts
, and.cts
(as well as.d.cts
and.d.mts
) to our parser tooling so that we can correctly detect file types and default supported extensions.Some code pointers to start off:
[1] [2] [3] [4] [5]
Essentially just search for
.ts
and go from there.✅ Instantiation Expressions (#4938)
This will require AST changes.
Babel: babel/babel#14457
✅
extends
Constraints oninfer
Type Variables (#4830)This is already supported and will not require AST changes
✅ Optional Variance Annotations for Type Parameters (#4831)
This will require AST changes.
Babel: babel/babel#14359
✅
lib.d.ts
Updates (#4829)We will need to regenerate our types within
scope-manager
.Other changes with no impact to us
type
inpackage.json
package.json
Exports, Imports, and Self-Referencingdist
imports whilst also providing nicely structured deep imports (i.e. maputils/dist/foo
=>utils/foo
)moduleSuffixes
readFile
Method is No Longer Optional onLanguageServiceHost
readonly
Tuples Have areadonly length
PropertyThe text was updated successfully, but these errors were encountered: