summaryrefslogtreecommitdiff
path: root/cli/js/web/fetch.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/web/fetch.ts')
-rw-r--r--cli/js/web/fetch.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/web/fetch.ts b/cli/js/web/fetch.ts
index 112bae48f..da6482ba3 100644
--- a/cli/js/web/fetch.ts
+++ b/cli/js/web/fetch.ts
@@ -80,7 +80,7 @@ class Body
return this.#bodyPromise;
}
- async blob(): Promise<domTypes.Blob> {
+ async blob(): Promise<Blob> {
const arrayBuffer = await this.arrayBuffer();
return new DenoBlob([arrayBuffer], {
type: this.contentType,
@@ -384,7 +384,7 @@ export class Response implements domTypes.Response {
return this.body.arrayBuffer();
}
- blob(): Promise<domTypes.Blob> {
+ blob(): Promise<Blob> {
if (this.#bodyViewable() || this.body == null) {
return Promise.reject(new Error("Response body is null"));
}