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(typescript-estree): correctTSImportType
property name whenassert
#11115
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(typescript-estree): correctTSImportType
property name whenassert
#11115
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for the PR,@overlookmotel! 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. |
netlifybot commentedApr 29, 2025 • 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 configuration. |
nx-cloudbot commentedApr 29, 2025 • 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.
codecovbot commentedApr 29, 2025 • 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 ReportAttention: Patch coverage is
❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust thetarget coverage. Additional details and impacted files@@ Coverage Diff @@## main #11115 +/- ##==========================================- Coverage 90.90% 90.89% -0.02%========================================== Files 498 498 Lines 50655 50663 +8 Branches 8335 8335 ========================================== Hits 46049 46049- Misses 4591 4599 +8 Partials 15 15
Flags with carried forward coverage won't be shown.Click here to find out more.
🚀 New features to boost your workflow:
|
Could someone please advise on how to fix the |
#6701 🫠. This PR is fine, it's the test coverage reporting that's wrong. You can ignore codecov. That's what I'd do (along with an exasperated sigh). If you want to be awesome and go the extra mile, you could try to fix#6701. 😄 |
JoshuaKGoldberg left a comment• 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.
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.
...s/ast-spec/src/type/TSImportType/fixtures/type-import-type-with-import-attributes/fixture.ts OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
I aspire to being awesome, but I'm sorry to say I wouldn't have a clue how to do that! |
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.
LGTM - great work!
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.
🙌
TSImportType
property name whenassert
TSImportType
property name whenassert
3c61357
intotypescript-eslint:mainUh oh!
There was an error while loading.Please reload this page.
PR Checklist
TSImportType
'soption
object always has keywith
#11114Overview
Iguess
token.getText()
is the best API to use to obtain the property name, but I'm unfamiliar with bothtypescript-eslint
and TypeScript compiler, so I may well be on the wrong track. Ditto Ithink I've put the test in the right place.If any changes required (or if I've gone about this in completely the wrong way), please do let me know.