diff --git a/src/streaming.ts b/src/streaming.ts index a60ae2c5..bcf7bb63 100644 --- a/src/streaming.ts +++ b/src/streaming.ts @@ -202,7 +202,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();