From b42d3bdd04a698eace966e1c8247ceae3f7a25a5 Mon Sep 17 00:00:00 2001 From: Mark Boon <42232000+mdboon@users.noreply.github.com> Date: Tue, 7 May 2024 16:13:31 +1000 Subject: [PATCH] Update src/stream/higher-order.ts Co-authored-by: Ewan Breakey --- src/stream/higher-order.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {