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
This commit is contained in:
Eric Eslinger
2017-10-27 17:32:40 -07:00
committed by Sheetal Nandi
parent 084ca6f60c
commit cc20726465
+1 -1
View File
@@ -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;