9 lines
216 B
Text
9 lines
216 B
Text
=== tests/cases/compiler/generatorES6_3.ts ===
|
|
var v = function*() {
|
|
>v : () => IterableIterator<number>
|
|
>function*() { yield 0} : () => IterableIterator<number>
|
|
|
|
yield 0
|
|
>yield 0 : any
|
|
>0 : number
|
|
}
|