TypeScript/tests/baselines/reference/YieldExpression19_es6.types
2016-11-17 23:17:42 -08:00

18 lines
390 B
Plaintext

=== tests/cases/conformance/es6/yieldExpressions/YieldExpression19_es6.ts ===
function*foo() {
>foo : () => IterableIterator<any>
function bar() {
>bar : () => void
function* quux() {
>quux : () => IterableIterator<() => IterableIterator<any>>
yield(foo);
>yield(foo) : any
>(foo) : () => IterableIterator<any>
>foo : () => IterableIterator<any>
}
}
}