Skip to content

Commit

Permalink
fix: errorhandler type declaration (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoumitaM authored Jun 26, 2023
1 parent a23dbe3 commit e7ee335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export interface constructorOptions {
axiosInstance?: any;
axiosRetryConfig?: any;
retryCount?: number;
errorHandler?: () => void;
errorHandler?: (error?: any) => void;
gzip?: boolean;
}

Expand Down

0 comments on commit e7ee335

Please sign in to comment.