diff --git a/whatwg-fetch/whatwg-fetch.d.ts b/whatwg-fetch/whatwg-fetch.d.ts index e2d781081d..32e681bb9b 100644 --- a/whatwg-fetch/whatwg-fetch.d.ts +++ b/whatwg-fetch/whatwg-fetch.d.ts @@ -59,8 +59,8 @@ declare class Body { } declare class Response extends Body { constructor(body?: BodyInit, init?: ResponseInit); - error(): Response; - redirect(url: string, status: number): Response; + static error(): Response; + static redirect(url: string, status: number): Response; type: ResponseType; url: string; status: number;