summaryrefslogtreecommitdiff
path: root/js/fetch.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/fetch.ts')
-rw-r--r--js/fetch.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/js/fetch.ts b/js/fetch.ts
index 599d02baf..3bc605221 100644
--- a/js/fetch.ts
+++ b/js/fetch.ts
@@ -81,12 +81,14 @@ class FetchResponse implements Response {
return this.bodyWaiter;
}
- blob(): Promise<Blob> {
+ async blob(): Promise<Blob> {
notImplemented();
+ return {} as Blob;
}
- formData(): Promise<FormData> {
+ async formData(): Promise<FormData> {
notImplemented();
+ return {} as FormData;
}
async json(): Promise<object> {
@@ -106,6 +108,7 @@ class FetchResponse implements Response {
clone(): Response {
notImplemented();
+ return {} as Response;
}
onHeader?: (res: FetchResponse) => void;