From 99e58db462a793a03f3db1855a2be55f2d68c47d Mon Sep 17 00:00:00 2001 From: Romke van der Meulen Date: Tue, 12 Apr 2016 15:36:44 +0200 Subject: [PATCH] mark Response.error() and Response.redirect() as static (#8887) Fixes #7777 --- whatwg-fetch/whatwg-fetch.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/whatwg-fetch/whatwg-fetch.d.ts b/whatwg-fetch/whatwg-fetch.d.ts index e2d781081..32e681bb9 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;