mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 15:45:27 -05:00
Fix typo
This commit is contained in:
@@ -6394,7 +6394,7 @@ namespace ts {
|
||||
}
|
||||
if (t.flags & TypeFlags.Conditional) {
|
||||
const trueBaseType = getBaseConstraint((<ConditionalType>t).trueType);
|
||||
const falseBaseType = getBaseConstraint((<ConditionalType>t).trueType);
|
||||
const falseBaseType = getBaseConstraint((<ConditionalType>t).falseType);
|
||||
return trueBaseType && falseBaseType ? getUnionType([trueBaseType, falseBaseType]) : undefined;
|
||||
}
|
||||
if (t.flags & TypeFlags.Extends) {
|
||||
|
||||
Reference in New Issue
Block a user