diff --git a/types/got/index.d.ts b/types/got/index.d.ts index 1111258da2..09b451f4bb 100644 --- a/types/got/index.d.ts +++ b/types/got/index.d.ts @@ -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, error: GotError, retryCount: number) => any;