diff --git a/types/node-fetch/index.d.ts b/types/node-fetch/index.d.ts index 98ccbde8fe..5c9c8c3741 100644 --- a/types/node-fetch/index.d.ts +++ b/types/node-fetch/index.d.ts @@ -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;