Skip to content

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

Merged
jakebailey merged 1 commit intomicrosoft:mainfrom
Andarist:test/44814
Aug 15, 2024
Merged

Add an extra test case for narrowing of union containing a type parameter#59628
jakebailey merged 1 commit intomicrosoft:mainfrom
Andarist:test/44814

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
@sandersn sandersn removed this from PR Backlog Apr 22, 2025
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

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