8 lines
232 B
Text
8 lines
232 B
Text
=== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck11.ts ===
|
|
function* g(): IterableIterator<number> {
|
|
>g : () => IterableIterator<number>
|
|
>IterableIterator : IterableIterator<T>
|
|
|
|
return 0;
|
|
>0 : number
|
|
}
|