Skip to content

Commit 151faae

Browse files
committed
Format
1 parent 9a228e1 commit 151faae

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/compiler/checker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21428,7 +21428,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
2142821428
return !!((type.flags & TypeFlags.Union ? (type as UnionType).types[0] : type).flags & TypeFlags.Undefined);
2142921429
}
2143021430

21431-
2143221431
function containsNonMissingUndefinedType(type: Type) {
2143321432
const candidate = type.flags & TypeFlags.Union ? (type as UnionType).types[0] : type;
2143421433
return !!(candidate.flags & TypeFlags.Undefined) && candidate !== missingType;

0 commit comments

Comments
 (0)