// @target: es2018 // @lib: esnext async function f(source: Iterable | AsyncIterable) { for await (const x of source) { } }