diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index a4986a77200c7..decb4da0681bd 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -14094,12 +14094,6 @@ namespace ts { if (unreliable) { variance |= VarianceFlags.Unreliable; } - const covariantID = getRelationKey(typeWithSub, typeWithSuper, assignableRelation); - const contravariantID = getRelationKey(typeWithSuper, typeWithSub, assignableRelation); - // We delete the results of these checks, as we want them to actually be run, see the `Unmeasurable` variance we cache, - // And then fall back to a structural result. - assignableRelation.delete(covariantID); - assignableRelation.delete(contravariantID); } variances.push(variance); }