Skip to content

Commit eed0acb

Browse files
committed
Lint
1 parent a34c556 commit eed0acb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29141,7 +29141,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
2914129141
// It's possible that zero contextual types are arraylike
2914229142
if (contextualElementTypes.length > 1) {
2914329143
return createArrayType(getIntersectionType(contextualElementTypes));
29144-
} else if (contextualElementTypes.length === 1) {
29144+
}
29145+
else if (contextualElementTypes.length === 1) {
2914529146
return createArrayType(contextualElementTypes[0]);
2914629147
}
2914729148
}

0 commit comments

Comments
 (0)