Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 4, 2021
1 parent fa888ed commit cc75943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ expectType<Promise<number>>(
}),
);
expectType<Promise<void>>(
pRetry(() => undefined, {
pRetry(() => {}, { // eslint-disable-line @typescript-eslint/no-empty-function
onFailedAttempt: error => {
expectType<FailedAttemptError>(error);
expectType<number>(error.attemptNumber);
Expand Down

0 comments on commit cc75943

Please sign in to comment.