mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Change doc-string for Unreliable variance flag. (#33036)
This commit is contained in:
parent
4bddf55328
commit
ec39d41287
@ -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,
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user