From f65cad9541d3e8f092c6254c3b4bda71ec99ea25 Mon Sep 17 00:00:00 2001 From: ikokostya Date: Sun, 30 Dec 2018 05:31:07 +0300 Subject: [PATCH] improve param desc for beforeRetryHook --- types/got/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;