Skip to content

[pull] master from microsoft:master#917

Merged
pull[bot] merged 2 commits intows1993:masterfrom
microsoft:master
Apr 25, 2021
Merged

[pull] master from microsoft:master#917
pull[bot] merged 2 commits intows1993:masterfrom
microsoft:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 25, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

This diff extends the types checked by
discriminateContextualTypeByObjectMembers and
discriminateContextualTypeByJSXAttributes to also include any optional
components in the type union.

fixes #41759 although it doesn't address the better error reporting for
their last repro, which I'm not sure how to address.
@pull pull bot added the ⤵️ pull label Apr 25, 2021
@pull pull bot merged commit 514d8d8 into ws1993:master Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants