feat: amend Request definition

This commit is contained in:
Niklas Lindgren
2018-05-16 16:09:08 +01:00
parent 505f5955af
commit 7074864dbd
+2 -1
View File
@@ -9,13 +9,14 @@
import { Agent } from "http";
export class Request extends Body {
constructor(input: string | Request, init?: RequestInit);
constructor(input: string | { href: string } | Request, init?: RequestInit);
method: string;
url: string;
headers: Headers;
context: RequestContext;
referrer: string;
redirect: RequestRedirect;
clone(): Request;
//node-fetch extensions to the whatwg/fetch spec
compress: boolean;