From def6071be8076984ac50d1b50cb380a2a7035d6e Mon Sep 17 00:00:00 2001 From: Anudeep Date: Sat, 20 Jul 2024 23:19:32 +0530 Subject: [PATCH] make key optional parameter --- src/exports/request.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exports/request.d.ts b/src/exports/request.d.ts index 5c129e2..77ea7ed 100644 --- a/src/exports/request.d.ts +++ b/src/exports/request.d.ts @@ -28,7 +28,7 @@ export function setFollowRedirects(follow: boolean): void; /** * removes all or selective default headers */ -export function removeDefaultHeaders(key: string): void; +export function removeDefaultHeaders(key?: string): void; /** * records data that will be available in reports