We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fec2b7f commit aa07fa0Copy full SHA for aa07fa0
1 file changed
plugins/http/guest-js/index.ts
@@ -234,7 +234,7 @@ export async function fetch(
234
}
235
236
const readChunk = async (
237
- controller: ReadableStreamDefaultController<any>
+ controller: ReadableStreamDefaultController<Uint8Array>
238
) => {
239
let data: ArrayBuffer
240
try {
@@ -261,7 +261,7 @@ export async function fetch(
261
controller.enqueue(actualData)
262
263
264
- const readableStreamBody = new ReadableStream({
+ const readableStreamBody = new ReadableStream<Uint8Array>({
265
start: (controller) => {
266
// abort early here if needed and drop the body
267
if (signal?.aborted) {
0 commit comments