//// [generatorReturnTypeIndirectReferenceToGlobalType.ts]
interface I1 extends Iterator<0, 1, 2> {}

function* f1(): I1 {
  const a = yield 0;
  return 1;
}


//// [generatorReturnTypeIndirectReferenceToGlobalType.js]
"use strict";
function* f1() {
    const a = yield 0;
    return 1;
}
