Skip to content

Commit

Permalink
fix: add new retry options to types (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Jun 30, 2021
1 parent 1f65307 commit 3f10798
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.d.ts
Expand Up @@ -9,6 +9,9 @@ declare module 'retry-request' {
retries?: number,
noResponseRetries?: number,
currentRetryAttempt?: number,
maxRetryDelay?: number,
retryDelayMultiplier?: number,
totalTimeout?: number,
shouldRetryFn?: (response: request.RequestResponse) => boolean
}
}
Expand Down

0 comments on commit 3f10798

Please sign in to comment.