12 lines
188 B
Text
12 lines
188 B
Text
=== tests/cases/compiler/generatorES6_2.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
public * foo() {
|
|
>foo : () => IterableIterator<number>
|
|
|
|
yield 1
|
|
>yield 1 : any
|
|
>1 : number
|
|
}
|
|
}
|