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