Files
TypeScript/tests/cases/compiler
Matt McCutchenandRyan Cavanaugh 6487d1ffe0 Remove the rule that replaces a union of literal types with the base type when comparing equality to a type that isn't a union of literal types. (#27588)
type when comparing equality to a type that isn't a union of literal
types.

The rule is redundant because a primitive type is already directed-
comparable to a value of that primitive type, and it causes errors to be
missed when comparing a type parameter _constrained_ by a union of
literal types to another union of literal types.

The baseline changes look like improvements to me.

Fixes #26758.
2019-04-23 12:59:07 -07:00
..
2019-02-05 18:01:41 -08:00
2019-03-13 06:51:13 -07:00
2019-03-24 11:34:14 -07:00
2019-02-10 15:18:45 -08:00
2019-02-03 15:23:21 -08:00