Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Prevent breaking change in loginFn
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnski committed Mar 8, 2022
1 parent cff39c6 commit eb69197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export type CustomClientOptions = {
customCookie?: string;
onDownloadProgress?: (progress: number, event: ProgressEvent) => void;
onUploadProgress?: (progress: number, event: ProgressEvent) => void;
loginFn?: (config: RequestConfig) => Promise<void>;
loginFn?: (config?: RequestConfig) => Promise<void>;
};

/**
Expand Down

0 comments on commit eb69197

Please sign in to comment.