TypeScript/tests/cases/conformance/generators
Andrew Branch 083129f005
A union including non-iterable types is not iterable (#40350)
* WIP

* If method type derives solely from the global iterator or generator type, use its type arguments

* Add test for problem fixed as side effect
2020-09-11 09:31:22 -07:00
..
generatorAssignability.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
generatorExplicitReturnType.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
generatorImplicitAny.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
generatorReturnContextualType.ts Add contextual type for generator return type (#39772) 2020-07-27 15:14:47 -07:00
generatorReturnTypeFallback.1.ts Fall back to (Async)IterableIterator if (Async)Generator not found (#32303) 2019-07-15 13:41:17 -07:00
generatorReturnTypeFallback.2.ts Fall back to (Async)IterableIterator if (Async)Generator not found (#32303) 2019-07-15 13:41:17 -07:00
generatorReturnTypeFallback.3.ts Fall back to (Async)IterableIterator if (Async)Generator not found (#32303) 2019-07-15 13:41:17 -07:00
generatorReturnTypeFallback.4.ts Fall back to (Async)IterableIterator if (Async)Generator not found (#32303) 2019-07-15 13:41:17 -07:00
generatorReturnTypeFallback.5.ts Fall back to (Async)IterableIterator if (Async)Generator not found (#32303) 2019-07-15 13:41:17 -07:00
generatorReturnTypeIndirectReferenceToGlobalType.ts A union including non-iterable types is not iterable (#40350) 2020-09-11 09:31:22 -07:00
generatorReturnTypeInference.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
generatorReturnTypeInferenceNonStrict.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
generatorYieldContextualType.ts Get contextual type of yield from contextual signature of containing function (#32433) 2019-07-16 17:16:21 -07:00
restParameterInDownlevelGenerator.ts Treat hoisted temp variables as a custom prologue 2019-04-02 17:35:26 -07:00