mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
feat: amend Request definition
This commit is contained in:
Vendored
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user