From 1b1d357314d9b1995c9787fec9fa8514fd384886 Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Tue, 26 Mar 2024 19:08:47 -0400 Subject: [PATCH] chore(internal): add type (#737) --- src/streaming.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streaming.ts b/src/streaming.ts index c452737aa..6b0f2a345 100644 --- a/src/streaming.ts +++ b/src/streaming.ts @@ -201,7 +201,7 @@ export class Stream implements AsyncIterable { async start() { iter = self[Symbol.asyncIterator](); }, - async pull(ctrl) { + async pull(ctrl: any) { try { const { value, done } = await iter.next(); if (done) return ctrl.close();