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