From ec39d412876d0dcf704fc886d5036cb625220d2f Mon Sep 17 00:00:00 2001 From: Jack Williams Date: Fri, 23 Aug 2019 01:44:11 +0100 Subject: [PATCH] Change doc-string for Unreliable variance flag. (#33036) --- src/compiler/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/types.ts b/src/compiler/types.ts index dbb2dec0c513a..2c8a882c1640a 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -4214,7 +4214,7 @@ namespace ts { Independent = 1 << 2, // Unwitnessed type parameter VarianceMask = Invariant | Covariant | Contravariant | Independent, // Mask containing all measured variances without the unmeasurable flag Unmeasurable = 1 << 3, // Variance result is unusable - relationship relies on structural comparisons which are not reflected in generic relationships - Unreliable = 1 << 4, // Variance result is unreliable - relationship relies on structural comparisons which are not reflected in generic relationships + Unreliable = 1 << 4, // Variance result is unreliable - checking may produce false negatives, but not false positives AllowsStructuralFallback = Unmeasurable | Unreliable, }