9 lines
212 B
Text
9 lines
212 B
Text
=== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck37.ts ===
|
|
function* g() {
|
|
>g : () => IterableIterator<any>
|
|
|
|
return yield yield 0;
|
|
>yield yield 0 : any
|
|
>yield 0 : any
|
|
>0 : number
|
|
}
|