Skip to content
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

fix(scope-manager): allow visiting of constraint in infer type #5331

merged 3 commits into from Jul 18, 2022


Copy link

@armano2 armano2 commented Jul 10, 2022

PR Checklist


Add visiting of constraint in infer type

Copy link

nx-cloud bot commented Jul 10, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 8dd1bb0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Successfully ran 47 targets

Sent with 💌 from NxCloud.

Copy link

typescript-eslint bot commented Jul 10, 2022

Thanks for the PR, @armano2!

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 As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day.

Copy link

netlify bot commented Jul 10, 2022

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit 8dd1bb0
🔍 Latest deploy log
😎 Deploy Preview
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@armano2 armano2 added the package: scope-manager Issues related to @typescript-eslint/scope-manager label Jul 10, 2022
Reference$2 {
identifier: Identifier<"X">,
isRead: true,
isTypeReference: true,
isValueReference: false,
isWrite: false,
resolved: Variable$2,
Copy link
Member Author

@armano2 armano2 Jul 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

X has now correct reference

Copy link

codecov bot commented Jul 10, 2022

Codecov Report

Merging #5331 (8dd1bb0) into main (4138b0d) will decrease coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #5331      +/-   ##
- Coverage   91.67%   91.50%   -0.17%     
  Files         363      344      -19     
  Lines       12227    10811    -1416     
  Branches     3549     3168     -381     
- Hits        11209     9893    -1316     
+ Misses        668      595      -73     
+ Partials      350      323      -27     
Flag Coverage Δ
unittest 91.50% <100.00%> (-0.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ckages/scope-manager/src/referencer/TypeVisitor.ts 97.95% <100.00%> (+0.02%) ⬆️
... and 10 more

@armano2 armano2 requested a review from bradzacher Jul 11, 2022
@bradzacher bradzacher added the bug Something isn't working label Jul 18, 2022
@bradzacher bradzacher merged commit b2846a1 into main Jul 18, 2022
39 checks passed
@bradzacher bradzacher deleted the fix/scope-manager-visiting-infer-contraint branch Jul 18, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
bug Something isn't working package: scope-manager Issues related to @typescript-eslint/scope-manager
None yet

Successfully merging this pull request may close these issues.

Bug: [no-unused-vars] Does not recognize usage in TS 4.7 "infer + extends" syntax
2 participants