Skip to content

Commit e7ee335

Browse files
authored
fix: errorhandler type declaration (#101)
1 parent a23dbe3 commit e7ee335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface constructorOptions {
4747
axiosInstance?: any;
4848
axiosRetryConfig?: any;
4949
retryCount?: number;
50-
errorHandler?: () => void;
50+
errorHandler?: (error?: any) => void;
5151
gzip?: boolean;
5252
}
5353

0 commit comments

Comments
 (0)