File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -18745,7 +18745,6 @@ namespace ts {
18745
18745
}
18746
18746
}
18747
18747
}
18748
- // >> HERE
18749
18748
else if (source.flags & TypeFlags.Conditional) {
18750
18749
if (target.flags & TypeFlags.Conditional) {
18751
18750
// Two conditional types 'T1 extends U1 ? X1 : Y1' and 'T2 extends U2 ? X2 : Y2' are related if
@@ -18772,7 +18771,6 @@ namespace ts {
18772
18771
}
18773
18772
}
18774
18773
}
18775
- // >> HERE: source is conditional, target is not
18776
18774
else {
18777
18775
// conditionals aren't related to one another via distributive constraint as it is much too inaccurate and allows way
18778
18776
// more assignments than are desirable (since it maps the source check type to its constraint, it loses information)
You can’t perform that action at this time.
0 commit comments