File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18287,12 +18287,12 @@ namespace ts {
18287
18287
// identity is some object that is common to instantiations of the type with the same origin.
18288
18288
function getRecursionIdentity(type: Type): object | undefined {
18289
18289
if (type.flags & TypeFlags.Object && !isObjectOrArrayLiteralType(type)) {
18290
- if (getObjectFlags(type) && ObjectFlags.Reference && (type as TypeReference).node) {
18291
- // Deferred type references are tracked through their associated AST node. This gives us finer
18292
- // granularity than using their associated target because each manifest type reference has a
18293
- // unique AST node.
18294
- return (type as TypeReference).node;
18295
- }
18290
+ // if (getObjectFlags(type) && ObjectFlags.Reference && (type as TypeReference).node) {
18291
+ // // Deferred type references are tracked through their associated AST node. This gives us finer
18292
+ // // granularity than using their associated target because each manifest type reference has a
18293
+ // // unique AST node.
18294
+ // return (type as TypeReference).node;
18295
+ // }
18296
18296
if (type.symbol && !(getObjectFlags(type) & ObjectFlags.Anonymous && type.symbol.flags & SymbolFlags.Class)) {
18297
18297
// We track all object types that have an associated symbol (representing the origin of the type), but
18298
18298
// exclude the static side of classes from this check since it shares its symbol with the instance side.
You can’t perform that action at this time.
0 commit comments