9 lines
160 B
TypeScript
9 lines
160 B
TypeScript
//// [generatorTypeCheck11.ts]
|
|
function* g(): IterableIterator<number> {
|
|
return 0;
|
|
}
|
|
|
|
//// [generatorTypeCheck11.js]
|
|
function* g() {
|
|
return 0;
|
|
}
|