diff --git a/js/fetch.ts b/js/fetch.ts index 599d02baf5..3bc6052218 100644 --- a/js/fetch.ts +++ b/js/fetch.ts @@ -81,12 +81,14 @@ class FetchResponse implements Response { return this.bodyWaiter; } - blob(): Promise { + async blob(): Promise { notImplemented(); + return {} as Blob; } - formData(): Promise { + async formData(): Promise { notImplemented(); + return {} as FormData; } async json(): Promise { @@ -106,6 +108,7 @@ class FetchResponse implements Response { clone(): Response { notImplemented(); + return {} as Response; } onHeader?: (res: FetchResponse) => void;