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 5.3 Support #7719
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
dependencies
Issue about dependencies of the package
New TypeScript Version
Comments
bradzacher
added
dependencies
Issue about dependencies of the package
New TypeScript Version
labels
Oct 4, 2023
JoshuaKGoldberg
added
the
accepting prs
Go ahead, send a pull request that resolves this issue
label
Oct 23, 2023
3 tasks
3 tasks
1 task
Full support will release with our next release |
Hello, @JoshuaKGoldberg @bradzacher I just want to confirm that we are parsing JSDoc parsing with For Prettier, we don't care about JSDoc, do you think it's reasonable to use |
This comment was marked as outdated.
This comment was marked as outdated.
Your wish is our command ✨🧞♂️ |
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
dependencies
Issue about dependencies of the package
New TypeScript Version
https://devblogs.microsoft.com/typescript/announcing-typescript-5-3-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.
✅ Import Attributes (#7821)
We should take this opportunity to deprecate our import/export
.assertions
property, and instead implement the import/export.attributes
property. The AST shape is otherwise unchanged so it should just be a property deprecation.From the TS AST side - they deprecated the
.assertClause
property that we currently use to get the attributes and the intended replacement is.attributes
. Otherwise no changes.✅ Optimizations by Skipping JSDoc Parsing (#7821)
Our usecase was one of the motivators for this change!
We'll want to ensure we are parsing with
host.jsDocParsingMode = JSDocParsingMode.ParseForTypeInfo
.This should reduce memory usage and improve parsing performance.
✅ lib.d.ts Updates (#7923)
We will need to regenerate our types within
scope-manager
.Other changes with no impact to us
resolution-mode
in Import Typesswitch (true)
Narrowingif
condition - so we don't need to worry about updating our rules to match this, I think?instanceof
Narrowing ThroughSymbol.hasInstance
super
Property Accesses on Instance Fieldslib.d.ts Changes
super
Accesses on Instance PropertiesThe text was updated successfully, but these errors were encountered: