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();