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): support type predicates #2493

merged 1 commit into from Sep 5, 2020


Copy link

@bradzacher bradzacher commented Sep 5, 2020

Fixes #2462

Fixes #2462
@bradzacher bradzacher added the bug label Sep 5, 2020
Copy link

@typescript-eslint typescript-eslint bot commented Sep 5, 2020

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 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

@codecov codecov bot commented Sep 5, 2020

Codecov Report

Merging #2493 into master will decrease coverage by 0.00%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master    #2493      +/-   ##
- Coverage   92.84%   92.84%   -0.01%     
  Files         290      290              
  Lines        9354     9360       +6     
  Branches     2622     2623       +1     
+ Hits         8685     8690       +5     
  Misses        321      321              
- Partials      348      349       +1     
Flag Coverage Δ
#unittest 92.84% <66.66%> (-0.01%) ⬇️

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 89.33% <66.66%> (-0.95%) ⬇️
...ackages/scope-manager/src/referencer/Referencer.ts 93.93% <0.00%> (+0.07%) ⬆️
@bradzacher bradzacher merged commit a40f54c into master Sep 5, 2020
9 of 10 checks passed
9 of 10 checks passed
Unit tests Unit tests
Code style and lint
Run integration tests on primary Node.js version
Run unit tests on other Node.js versions (10.x)
Run unit tests on other Node.js versions (14.x)
Publish the latest code as a canary version
codecov/patch Codecov Report
Semantic Pull Request ready to be squashed
codecov/project Codecov Report
@bradzacher bradzacher deleted the 2462-type-predicate-scope branch Sep 5, 2020
phaux added a commit to phaux/typescript-eslint that referenced this pull request Sep 28, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant