13 lines
270 B
Plaintext
13 lines
270 B
Plaintext
=== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck13.ts ===
|
|
function* g(): IterableIterator<number> {
|
|
>g : () => IterableIterator<number>
|
|
>IterableIterator : IterableIterator<T>
|
|
|
|
yield 0;
|
|
>yield 0 : any
|
|
>0 : 0
|
|
|
|
return "";
|
|
>"" : ""
|
|
}
|