diff --git a/index.d.ts b/index.d.ts index ea84bc6..23bd46a 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; }