Skip to content

Commit e0bffe8

Browse files
committed
Formatting
1 parent 7d05047 commit e0bffe8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/compiler/checker.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25312,8 +25312,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
2531225312
// unique AST node.
2531325313
return (type as TypeReference).node!;
2531425314
}
25315-
if (type.symbol && objectFlags & (ObjectFlags.Instantiated|ObjectFlags.InstantiatedReference) &&
25316-
!(objectFlags & ObjectFlags.Anonymous && type.symbol.flags & SymbolFlags.Class)) {
25315+
if (
25316+
type.symbol && objectFlags & (ObjectFlags.Instantiated | ObjectFlags.InstantiatedReference) &&
25317+
!(objectFlags & ObjectFlags.Anonymous && type.symbol.flags & SymbolFlags.Class)
25318+
) {
2531725319
// We track instantiated object types that have a symbol by that symbol (representing the origin of the
2531825320
// type), but exclude the static side of a class since it shares its symbol with the instance side.
2531925321
return type.symbol;

0 commit comments

Comments
 (0)