//// [generatorTypeCheck19.ts]
class Foo { x: number }
class Bar extends Foo { y: string }
function* g(): IterableIterator<Foo> {
    yield;
    yield * [new Bar];
}

//// [generatorTypeCheck19.js]
class Foo {
}
class Bar extends Foo {
}
function* g() {
    yield;
    yield* [new Bar];
}
