diff --git a/src/stream/higher-order.ts b/src/stream/higher-order.ts index d8833f5..a2e8a95 100644 --- a/src/stream/higher-order.ts +++ b/src/stream/higher-order.ts @@ -138,7 +138,7 @@ export class HigherOrderStream extends StreamTransforms { const trace = this.trace("cachedFlatMap"); return this.consume(async function* (it) { - const cache = new Map[]>(); + const cache = new Map[]>(); for await (const atom of it) { if (!isOk(atom)) {