-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: support TS 5.3 #7968
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
feat: support TS 5.3 #7968
Conversation
Thanks for the PR, @bradzacher! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. |
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
/** @ts-ignore - added in TS 4.5, deprecated and converted to a type-alias in TS 5.3 */ | ||
export interface AssertClause extends ts.Node {} | ||
// @ts-ignore - added in TS 4.5 | ||
/** @ts-ignore - added in TS 4.5, deprecated and converted to a type-alias in TS 5.3 */ | ||
export interface AssertEntry extends ts.Node {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a problem for us.
Testing in the work repo this breaks consumers on TS5.3
Even with the jsdoc style - TS will error on the TS declaration.
We don't get this error locally because we use skipLibChecks
.
Note that this blocks the full support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks! 🚀
Happy to see the patches removed, even considering the cost.
microsoft/TypeScript#56477 has a fix merged and will release with v5.3.3. We can merge this in now and just say "fuck it" and tell plugin authors to just turn on For lint users we do have full support for 5.3 so it feels wrong to not merge this. WDYT @typescript-eslint/triage-team |
Ready to release? |
Thank you! |
PR Checklist
Overview
SyntaxKind.JSDoc
as deprecated as it was added in 4.7) - but that's not an enum member we'll ever used so I figured it was worth it.