From e7ee335015fba54de6c7a1c29c2dd7438c79a566 Mon Sep 17 00:00:00 2001 From: Moumita <36885121+MoumitaM@users.noreply.github.com> Date: Mon, 26 Jun 2023 12:16:42 +0530 Subject: [PATCH] fix: errorhandler type declaration (#101) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index ea84bc6c..23bd46a2 100644 --- a/index.d.ts +++ b/index.d.ts @@ -47,7 +47,7 @@ export interface constructorOptions { axiosInstance?: any; axiosRetryConfig?: any; retryCount?: number; - errorHandler?: () => void; + errorHandler?: (error?: any) => void; gzip?: boolean; }