mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fix typo
This commit is contained in:
1 parent
20434fabe6
commit
ddc631c5d4
1 file changed
+1
-1
@@ -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