TypeScript/tests/cases/conformance/es6/spread
Ron Buckton e8bf9584aa
Improve type checking and inference for Generators and Async Generators (#30790)
* Improve typing for Generators and Async Generators

* Add TReturn and TNext to Iterator, IterableIterator, etc.

* Update ts internal Iterator to be assignable from global Iterator

* Make 'done' optional in IteratorYieldResult

* Revert Iterable and IterableIterator to simpler versions plus other fixes

* Add additional inference tests

* Added additional tests

* PR cleanup and minor async iteration type fix

* Updated diagnostics message and added non-strict tests

* Fix expected arity of Iterator/AsyncIterator
2019-07-03 21:55:59 -07:00
..
arrayLiteralSpread.ts Adding tests and accepting new baselines 2014-12-12 10:56:22 -08:00
arrayLiteralSpreadES5iterable.ts Rename and simplify 'iterationMode' option 2016-12-30 14:39:51 -08:00
iteratorSpreadInArray.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInArray2.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInArray3.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInArray4.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInArray5.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInArray6.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInArray7.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInArray8.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInArray9.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInArray10.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInArray11.ts Optimize direct Iterable reference in getIteratedType 2015-03-25 18:38:14 -07:00
iteratorSpreadInCall.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInCall2.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInCall3.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInCall4.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInCall5.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
iteratorSpreadInCall6.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
iteratorSpreadInCall7.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
iteratorSpreadInCall8.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
iteratorSpreadInCall9.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
iteratorSpreadInCall10.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInCall11.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
iteratorSpreadInCall12.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00