File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments