13 lines
498 B
Text
13 lines
498 B
Text
=== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck27.ts ===
|
|
function* g(): IterableIterator<(x: string) => number> {
|
|
>g : Symbol(g, Decl(generatorTypeCheck27.ts, 0, 0))
|
|
>IterableIterator : Symbol(IterableIterator, Decl(lib.d.ts, 1672, 1))
|
|
>x : Symbol(x, Decl(generatorTypeCheck27.ts, 0, 33))
|
|
|
|
yield * function* () {
|
|
yield x => x.length;
|
|
>x : Symbol(x, Decl(generatorTypeCheck27.ts, 2, 13))
|
|
>x : Symbol(x, Decl(generatorTypeCheck27.ts, 2, 13))
|
|
|
|
} ();
|
|
}
|