diff options
Diffstat (limited to 'cli/js/web/fetch.ts')
-rw-r--r-- | cli/js/web/fetch.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/js/web/fetch.ts b/cli/js/web/fetch.ts index abb5f2aa2..60dafa150 100644 --- a/cli/js/web/fetch.ts +++ b/cli/js/web/fetch.ts @@ -28,7 +28,8 @@ function hasHeaderValueOf(s: string, value: string): boolean { return new RegExp(`^${value}[\t\s]*;?`).test(s); } -class Body implements domTypes.Body, ReadableStream<Uint8Array>, io.ReadCloser { +class Body + implements domTypes.Body, ReadableStream<Uint8Array>, io.Reader, io.Closer { #bodyUsed = false; #bodyPromise: Promise<ArrayBuffer> | null = null; #data: ArrayBuffer | null = null; |