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 [Transforms] merging "master" on 06/15/2016 (#9218) 2016-06-17 16:40:26 -07:00
named Support naming tuple members (#38234) 2020-05-19 15:54:02 -07:00
arityAndOrderCompatibility01.ts Revert "Add TupleBase with unusable mutating Array methods" 2017-11-08 15:18:35 -08:00
castingTuple.ts Add a few tuple tests and update baselines 2017-11-03 09:56:39 -07:00
contextualTypeWithTuple.ts Conformance tests for array element type of tuple is union type of tuple element types 2014-11-04 13:18:11 -08:00
indexerWithTuple.ts Conformance tests for array element type of tuple is union type of tuple element types 2014-11-04 13:18:11 -08:00
optionalTupleElements1.ts Add tests 2018-06-25 10:45:38 -10:00
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 Add tests 2018-06-25 10:45:38 -10:00
strictTupleLength.ts Add a few tuple tests and update baselines 2017-11-03 09:56:39 -07:00
tupleElementTypes1.ts Add tests 2015-07-16 19:03:54 -07:00
tupleElementTypes2.ts Add tests 2015-07-16 19:03:54 -07:00
tupleElementTypes3.ts Add tests 2015-07-16 19:03:54 -07:00
tupleElementTypes4.ts Add tests 2015-07-16 19:03:54 -07:00
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 Add new tests 2015-07-14 11:50:31 -07:00
wideningTuples2.ts Add new tests 2015-07-14 11:50:31 -07:00
wideningTuples3.ts Add new tests 2015-07-14 11:50:31 -07:00
wideningTuples4.ts Add new tests 2015-07-14 11:50:31 -07:00
wideningTuples5.ts Add new tests 2015-07-14 11:50:31 -07:00
wideningTuples6.ts Add new tests 2015-07-14 11:50:31 -07:00
wideningTuples7.ts Add new tests 2015-07-14 11:50:31 -07:00