Skip to content

Commit ec39d41

Browse files
jack-williamsweswigham
authored andcommitted
Change doc-string for Unreliable variance flag. (#33036)
1 parent 4bddf55 commit ec39d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4214,7 +4214,7 @@ namespace ts {
42144214
Independent = 1 << 2, // Unwitnessed type parameter
42154215
VarianceMask = Invariant | Covariant | Contravariant | Independent, // Mask containing all measured variances without the unmeasurable flag
42164216
Unmeasurable = 1 << 3, // Variance result is unusable - relationship relies on structural comparisons which are not reflected in generic relationships
4217-
Unreliable = 1 << 4, // Variance result is unreliable - relationship relies on structural comparisons which are not reflected in generic relationships
4217+
Unreliable = 1 << 4, // Variance result is unreliable - checking may produce false negatives, but not false positives
42184218
AllowsStructuralFallback = Unmeasurable | Unreliable,
42194219
}
42204220

0 commit comments

Comments
 (0)