From aa07fa0835faca168de2d7e56525ea4b165568c7 Mon Sep 17 00:00:00 2001 From: amrbashir Date: Sat, 22 Mar 2025 10:26:05 +0200 Subject: [PATCH] fix eslint --- plugins/http/guest-js/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/http/guest-js/index.ts b/plugins/http/guest-js/index.ts index 037d3b12..0350224a 100644 --- a/plugins/http/guest-js/index.ts +++ b/plugins/http/guest-js/index.ts @@ -234,7 +234,7 @@ export async function fetch( } const readChunk = async ( - controller: ReadableStreamDefaultController + controller: ReadableStreamDefaultController ) => { let data: ArrayBuffer try { @@ -261,7 +261,7 @@ export async function fetch( controller.enqueue(actualData) } - const readableStreamBody = new ReadableStream({ + const readableStreamBody = new ReadableStream({ start: (controller) => { // abort early here if needed and drop the body if (signal?.aborted) {