summaryrefslogtreecommitdiff
path: root/cli/js/web/body.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/web/body.ts')
-rw-r--r--cli/js/web/body.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/js/web/body.ts b/cli/js/web/body.ts
index 9c4997755..ffe3f0e59 100644
--- a/cli/js/web/body.ts
+++ b/cli/js/web/body.ts
@@ -100,7 +100,6 @@ export class Body implements domTypes.Body {
}
if (this._bodySource instanceof ReadableStreamImpl) {
- // @ts-ignore
this._stream = this._bodySource;
}
if (typeof this._bodySource === "string") {
@@ -290,7 +289,6 @@ export class Body implements domTypes.Body {
enc.encode(this._bodySource).buffer as ArrayBuffer
);
} else if (this._bodySource instanceof ReadableStreamImpl) {
- // @ts-ignore
return bufferFromStream(this._bodySource.getReader());
} else if (this._bodySource instanceof FormData) {
const enc = new TextEncoder();