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

Add an extra test case for narrowing of union containing a type parameter #59628

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

Andarist
Copy link
Contributor

closes #44814
it was fixed #41821 and specifically by the change in getNarrowedType here

@typescript-bot typescript-bot added the For Milestone Bug PRs that fix a bug with a specific milestone label Aug 14, 2024
@jakebailey jakebailey merged commit aaa6c4e into microsoft:main Aug 15, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Milestone Bug PRs that fix a bug with a specific milestone
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Union with constrained type variable doesn't narrow in negative branch of type predicate
3 participants