Skip to content

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

Merged
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
Andarist:test/44814
Aug 15, 2024
Merged

Add an extra test case for narrowing of union containing a type parameter#59628
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
Andarist:test/44814

Conversation

@Andarist

Copy link
Copy Markdown
Contributor

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

@typescript-bot TypeScript Bot (typescript-bot) added the For Milestone Bug PRs that fix a bug with a specific milestone label Aug 14, 2024
@jakebailey
Jake Bailey (jakebailey) merged commit aaa6c4e into microsoft:main Aug 15, 2024
@microsoft 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

4 participants