Skip to content

Commit 699b8b0

Browse files
committed
better cast of ponyfilled ReadableStream
1 parent 8f8ca2d commit 699b8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/conjure-client/src/fetchBridge/blobReadableStreamAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ export function blobToReadableStream(blobPromise: Promise<Blob>): ReadableStream
3131
},
3232
};
3333
return typeof ReadableStream === "undefined"
34-
? ((new PonyfilledReadableStream<Uint8Array>(underlyingSource) as unknown) as ReadableStream<Uint8Array>)
34+
? (new PonyfilledReadableStream<Uint8Array>(underlyingSource) as ReadableStream<Uint8Array>)
3535
: new ReadableStream(underlyingSource);
3636
}

0 commit comments

Comments
 (0)