Skip to content

Commit aa07fa0

Browse files
committed
fix eslint
1 parent fec2b7f commit aa07fa0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/http/guest-js/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export async function fetch(
234234
}
235235

236236
const readChunk = async (
237-
controller: ReadableStreamDefaultController<any>
237+
controller: ReadableStreamDefaultController<Uint8Array>
238238
) => {
239239
let data: ArrayBuffer
240240
try {
@@ -261,7 +261,7 @@ export async function fetch(
261261
controller.enqueue(actualData)
262262
}
263263

264-
const readableStreamBody = new ReadableStream({
264+
const readableStreamBody = new ReadableStream<Uint8Array>({
265265
start: (controller) => {
266266
// abort early here if needed and drop the body
267267
if (signal?.aborted) {

0 commit comments

Comments
 (0)