Skip to content

Conversation

@weswigham
Copy link
Member

@weswigham weswigham commented May 4, 2018

In #23592 we changed the getConstraintOfType function to not simplify index types - distributive conditional type constraints rely on the type being simplified to actually have something to iterate over, ergo getConstraintOfDistributiveConditionalType must call getSimplifiedType itself.

Fixes #23849

@weswigham weswigham merged commit 618da24 into microsoft:master May 4, 2018
@weswigham weswigham deleted the conditional-constraint-distributivity branch May 4, 2018 21:35
@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants