File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -22990,7 +22990,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
22990
22990
function getRecursionIdentity(type: Type): object {
22991
22991
// Object and array literals are known not to contain recursive references and don't need a recursion identity.
22992
22992
if (type.flags & TypeFlags.Object && !isObjectOrArrayLiteralType(type)) {
22993
- if (getObjectFlags(type) && ObjectFlags.Reference && (type as TypeReference).node) {
22993
+ if (getObjectFlags(type) & ObjectFlags.Reference && (type as TypeReference).node) {
22994
22994
// Deferred type references are tracked through their associated AST node. This gives us finer
22995
22995
// granularity than using their associated target because each manifest type reference has a
22996
22996
// unique AST node.
You can’t perform that action at this time.
0 commit comments