Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
fix: rename typeParameters to typeArguments where needed#5384
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
fix: rename typeParameters to typeArguments where needed#5384
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for the PR,@JoshuaKGoldberg! 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 onhttps://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day. |
nx-cloudbot commentedJul 26, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
netlifybot commentedJul 26, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
✅ Deploy Preview fortypescript-eslint ready!
To edit notification comments on pull requests, go to yourNetlify site settings. |
2cc8461
to6573aa0
CompareThinking about this in terms of the broader ecosystem and the impacts - I wonder if we want to give consumers one major version to migrate? How about this: this version we add the new property and we mark the old property as If we wanted we could also do something like define a getter that throws when in a test environment to help flag plugins that they should migrate. WDYT? |
JoshuaKGoldberg commentedFeb 7, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Yeah that makes sense. I'll put the The process env check + getter idea is really nifty - seems like a good followup feature request. I'd like to get it in v6... thinking 🤔 |
...tests/snapshots/typescript/expressions/tagged-template-expression-type-arguments.src.ts.shot OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
codecovbot commentedFeb 10, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@## v6 #5384 +/- ##======================================= Coverage 87.06% 87.06% ======================================= Files 365 365 Lines 12579 12579 Branches 3720 3720 ======================================= Hits 10952 10952 Misses 1278 1278 Partials 349 349
Flags with carried forward coverage won't be shown.Click here to find out more.
|
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.
Yeah that makes sense. I'll put the@deprecated old properties in this PR (once I get the new ones working)
Once we've got this change, this is good-to-go I think.
Uh oh!
There was an error while loading.Please reload this page.
JoshuaKGoldberg commentedFeb 21, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
|
Uh oh!
There was an error while loading.Please reload this page.
BREAKING CHANGE:
Adds duplicate properties on the AST and deprecates their old names
PR Checklist
Overview
Renames
typeParameters
totypeArguments
in locations that are indeed providing typearguments.To recap the terminology:
Marked as a breaking change even though the old, now-
@deprecated
property is still there.