From cc2072646562721329de7e97a8e33b2b1a9660df Mon Sep 17 00:00:00 2001 From: Eric Eslinger Date: Fri, 27 Oct 2017 17:32:40 -0700 Subject: [PATCH] The db field in Redis's ClientOptions interface should be a number, not a string. (#20504) * this parameter should probably be a number * undid the prettier reformat * other modules send strings --- types/redis/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/redis/index.d.ts b/types/redis/index.d.ts index 13b7cbeb45..5f7e1d1e10 100644 --- a/types/redis/index.d.ts +++ b/types/redis/index.d.ts @@ -41,7 +41,7 @@ export interface ClientOpts { retry_unfulfilled_commands?: boolean; auth_pass?: string; password?: string; - db?: string; + db?: string | number; family?: string; rename_commands?: { [command: string]: string }; tls?: any;