TypeScript/tests/cases/conformance/types/literal
Anders Hejlsberg 5977233fd1
Reinstate constraint check for template literal types (#43661)
* Add missing constraint check for template literal types

* Add regression test
2021-04-13 12:17:55 -10:00
..
booleanLiteralTypes1.ts Adding new tests 2016-07-06 21:01:00 -07:00
booleanLiteralTypes2.ts Adding new tests 2016-07-06 21:01:00 -07:00
enumLiteralTypes1.ts Adding new tests 2016-07-06 21:01:00 -07:00
enumLiteralTypes2.ts Adding new tests 2016-07-06 21:01:00 -07:00
enumLiteralTypes3.ts Adding new tests 2016-07-06 21:01:00 -07:00
literalTypes1.ts Adding new tests 2016-07-06 21:01:00 -07:00
literalTypes2.ts Add tests 2016-09-11 11:23:21 -07:00
literalTypes3.ts Add tests 2016-10-13 06:40:16 -07:00
literalTypesAndDestructuring.ts Contextually typed binding element initializers (#35855) 2020-01-06 12:53:23 -08:00
literalTypesAndTypeAssertions.ts Add test 2016-09-12 16:00:24 -07:00
literalTypesWidenInParameterPosition.ts Test widen literal types of parameter properties 2016-11-16 15:15:30 -08:00
literalTypeWidening.ts Add regression test 2019-07-04 16:27:03 -10:00
numericLiteralTypes1.ts Adding new tests 2016-07-06 21:01:00 -07:00
numericLiteralTypes2.ts Adding new tests 2016-07-06 21:01:00 -07:00
numericLiteralTypes3.ts Adding new tests 2016-07-06 21:01:00 -07:00
stringEnumLiteralTypes1.ts Add new tests 2017-04-30 16:06:26 -07:00
stringEnumLiteralTypes2.ts Add new tests 2017-04-30 16:06:26 -07:00
stringEnumLiteralTypes3.ts Add new tests 2017-04-30 16:06:26 -07:00
stringLiteralsAssertionsInEqualityComparisons01.ts
stringLiteralsAssertionsInEqualityComparisons02.ts
stringLiteralsWithEqualityChecks01.ts
stringLiteralsWithEqualityChecks02.ts
stringLiteralsWithEqualityChecks03.ts
stringLiteralsWithEqualityChecks04.ts
stringLiteralsWithSwitchStatements01.ts
stringLiteralsWithSwitchStatements02.ts
stringLiteralsWithSwitchStatements03.ts
stringLiteralsWithSwitchStatements04.ts
stringLiteralsWithTypeAssertions01.ts
templateLiteralTypes1.ts Add isDeeplyNestedType logic to getResolvedBaseConstraint (#40971) 2020-10-07 05:50:06 -07:00
templateLiteralTypes2.ts Fix template literal type relations (#43440) 2021-03-30 12:53:15 -10:00
templateLiteralTypes3.ts Reinstate constraint check for template literal types (#43661) 2021-04-13 12:17:55 -10:00
templateLiteralTypesPatterns.ts Fix getTypeFacts for pattern template literal types (#41693) 2020-11-26 06:55:01 -10:00
templateLiteralTypesPatternsPrefixSuffixAssignability.ts Match suffix _after_ prefix when inferring literals out of templates (#40841) 2020-09-29 16:34:58 -07:00