Skip to content

Commit eb87bad

Browse files
committed
Removed trailing whitespace
1 parent e568892 commit eb87bad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2467,9 +2467,7 @@ namespace ts {
24672467
}
24682468

24692469
function isUnionContaining(type: Type, kinds: TypeFlags) {
2470-
return type
2471-
&& (type.flags & TypeFlags.Union)
2472-
&& someConstituentTypeHasKind(type, kinds);
2470+
return type && (type.flags & TypeFlags.Union) && someConstituentTypeHasKind(type, kinds);
24732471
}
24742472

24752473
// Return the type of a binding element parent. We check SymbolLinks first to see if a type has been

0 commit comments

Comments
 (0)