mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
improve param desc for beforeRetryHook
This commit is contained in:
Vendored
+1
-1
@@ -129,7 +129,7 @@ declare namespace got {
|
||||
|
||||
/**
|
||||
* @param options Normalized request options.
|
||||
* @param error Error from previous attempt.
|
||||
* @param error Request error.
|
||||
* @param retryCount Number of retry.
|
||||
*/
|
||||
type BeforeRetryHook<Options> = (options: Options, error: GotError, retryCount: number) => any;
|
||||
|
||||
Reference in New Issue
Block a user