You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (result = isRelatedTo(getTrueTypeFromConditionalType(<ConditionalType>source), getTrueTypeFromConditionalType(<ConditionalType>target), reportErrors)) {
10206
10209
result &= isRelatedTo(getFalseTypeFromConditionalType(<ConditionalType>source), getFalseTypeFromConditionalType(<ConditionalType>target), reportErrors);
10207
10210
}
10208
-
}
10209
-
else {
10210
-
result = isRelatedTo(getDefaultConstraintOfConditionalType(<ConditionalType>source), getDefaultConstraintOfConditionalType(<ConditionalType>target), reportErrors);
10211
-
}
10212
-
if (result) {
10213
-
errorInfo = saveErrorInfo;
10214
-
return result;
10211
+
if (result) {
10212
+
errorInfo = saveErrorInfo;
10213
+
return result;
10214
+
}
10215
10215
}
10216
10216
}
10217
10217
else if (relation !== definitelyAssignableRelation) {
0 commit comments