Skip to content

Commit dd91ab7

Browse files
committed
Actually do it.
1 parent bf23e4d commit dd91ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14200,7 +14200,7 @@ namespace ts {
1420014200
function removeSubtypes(types: Type[], hasObjectTypes: boolean): Type[] | undefined {
1420114201
// [] and [T] immediately reduce to [] and [T] respectively
1420214202
if (types.length < 2) {
14203-
// return types;
14203+
return types;
1420414204
}
1420514205

1420614206
const id = getTypeListId(types);

0 commit comments

Comments
 (0)