16 lines
227 B
TypeScript
16 lines
227 B
TypeScript
|
//// [generatorTypeCheck34.ts]
|
||
|
function* g() {
|
||
|
yield 0;
|
||
|
function* g2() {
|
||
|
return "";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//// [generatorTypeCheck34.js]
|
||
|
function* g() {
|
||
|
yield 0;
|
||
|
function* g2() {
|
||
|
return "";
|
||
|
}
|
||
|
}
|