From 5be52e802be3af8476d493dfd075c2180e9b6a57 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Wed, 29 Mar 2023 11:57:13 +0100 Subject: [PATCH] fix: fix it-to-browser-readablestream-types A typescript patch update has broken the types --- packages/it-to-browser-readablestream/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/it-to-browser-readablestream/src/index.ts b/packages/it-to-browser-readablestream/src/index.ts index e2a5226c..90d9252f 100644 --- a/packages/it-to-browser-readablestream/src/index.ts +++ b/packages/it-to-browser-readablestream/src/index.ts @@ -8,8 +8,8 @@ type Source = SourceExt & UnderlyingSource /** * Converts an (async) iterator into a WHATWG ReadableStream */ -export default function itToBrowserReadableStream (source: AsyncIterator | Iterator, queuingStrategy: QueuingStrategy = {}): ReadableStream { - const s: Source = { +export default function itToBrowserReadableStream (source: AsyncIterator | Iterator, queuingStrategy: QueuingStrategy = {}): ReadableStream { + const s: Source = { _cancelled: false, async start () {