From aa6d304dc6e20af66ca8f03bb985b0c995141bf4 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Fri, 16 Jul 2021 08:20:59 +0200 Subject: [PATCH] fix: fetch types request info should receive an URL --- fetch/@types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch/@types/index.d.ts b/fetch/@types/index.d.ts index ed20771..214a63f 100644 --- a/fetch/@types/index.d.ts +++ b/fetch/@types/index.d.ts @@ -116,7 +116,7 @@ declare class Body { } type RequestRedirect = 'error' | 'follow' | 'manual'; -type RequestInfo = string | Body; +type RequestInfo = string | Body | URL; declare class Request extends Body { constructor(input: RequestInfo, init?: RequestInit);