=== tests/cases/conformance/generators/generatorReturnTypeFallback.3.ts ===
// Do not allow generators to fallback to IterableIterator while in strictNullChecks mode if they need a type for the sent value.
// NOTE: In non-strictNullChecks mode, `undefined` (the default sent value) is assignable to everything.
function* f() {
>f : () => {}

    const x: string = yield 1;
>x : string
>yield 1 : any
>1 : 1
}
