TypeScript/tests/cases/conformance/types/tuple
Wesley Wigham 5f597e69b2
Support naming tuple members (#38234)
* Initial draft of named tuple members

* Show tuple labels and documentation in completions

* Swap allowed syntax to parameter-like

* Add quickfix for labeled tuple syntax mistakes

* Add refactoring to convert list of signatures to single overload

* Fix small bug in visitor verification

* Signature help for rest parameters which are unions of tuples are displayed as seperate entries now

* Expand sanity check test cases in conformance suite

* Add tests and code for preserving tuple names through spreads where possible

* More refactoring tests, some comment preservation and some fixed formatting of multiline tuples

* Handle missing parameter named in isValidDeclarationForTupleLabel

* Minor text fixes
2020-05-19 15:54:02 -07:00
..
emptyTuples
named Support naming tuple members (#38234) 2020-05-19 15:54:02 -07:00
arityAndOrderCompatibility01.ts
castingTuple.ts
contextualTypeWithTuple.ts
indexerWithTuple.ts
optionalTupleElements1.ts
readonlyArraysAndTuples.ts Error when writing to readonly tuple in rest element range 2019-05-22 15:03:17 -07:00
readonlyArraysAndTuples2.ts Add tests for decorators and declaration emit from error free source 2019-01-26 14:57:02 -08:00
restTupleElements1.ts
strictTupleLength.ts
tupleElementTypes1.ts
tupleElementTypes2.ts
tupleElementTypes3.ts
tupleElementTypes4.ts
tupleLengthCheck.ts check index access for fixed length tuple 2018-08-10 10:49:37 +08:00
typeInferenceWithTupleType.ts Don't inferFromIndexTypes() twice (#34501) 2020-03-04 13:19:35 -08:00
unionsOfTupleTypes1.ts Add tests 2018-10-06 17:03:19 -07:00
wideningTuples1.ts
wideningTuples2.ts
wideningTuples3.ts
wideningTuples4.ts
wideningTuples5.ts
wideningTuples6.ts
wideningTuples7.ts