11 lines
189 B
TypeScript
11 lines
189 B
TypeScript
//// [generatorTypeCheck13.ts]
|
|
function* g(): IterableIterator<number> {
|
|
yield 0;
|
|
return "";
|
|
}
|
|
|
|
//// [generatorTypeCheck13.js]
|
|
function* g() {
|
|
yield 0;
|
|
return "";
|
|
}
|