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