Skip to content

Commit

Permalink
Added symbol to BeforeRetryHook definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
jabuj committed Dec 14, 2020
1 parent 110e621 commit ec2450f
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 @@ -20,7 +20,7 @@ export type BeforeRetryOptions = {
};
export type BeforeRetryHook = (
options: BeforeRetryOptions
) => void | Promise<void>;
) => typeof ky.stop | void | Promise<typeof ky.stop | void>;

export type AfterResponseHook = (
request: Request,
Expand Down

0 comments on commit ec2450f

Please sign in to comment.