14 lines
539 B
Text
14 lines
539 B
Text
=== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck29.ts ===
|
|
function* g2(): Iterator<Iterable<(x: string) => number>> {
|
|
>g2 : Symbol(g2, Decl(generatorTypeCheck29.ts, 0, 0))
|
|
>Iterator : Symbol(Iterator, Decl(lib.d.ts, 1662, 1))
|
|
>Iterable : Symbol(Iterable, Decl(lib.d.ts, 1668, 1))
|
|
>x : Symbol(x, Decl(generatorTypeCheck29.ts, 0, 35))
|
|
|
|
yield function* () {
|
|
yield x => x.length;
|
|
>x : Symbol(x, Decl(generatorTypeCheck29.ts, 2, 13))
|
|
>x : Symbol(x, Decl(generatorTypeCheck29.ts, 2, 13))
|
|
|
|
} ()
|
|
}
|