Change doc-string for Unreliable variance flag. (#33036)

This commit is contained in:
Jack Williams 2019-08-23 01:44:11 +01:00 committed by Wesley Wigham
parent 4bddf55328
commit ec39d41287

View File

@ -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,
}