Skip to content

Commit

Permalink
Merge pull request #3938 from czechboy0/patch-1
Browse files Browse the repository at this point in the history
redis: auth_pass is a string (password), not a boolean.
  • Loading branch information
horiuchi committed Mar 23, 2015
2 parents a834d5f + 6e9cfe9 commit bba3415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redis/redis.d.ts
Expand Up @@ -33,7 +33,7 @@ declare module "redis" {
}

interface ClientOpts {
parser: string;
parser?: string;
return_buffers?: boolean;
detect_buffers?: boolean;
socket_nodelay?: boolean;
Expand All @@ -42,7 +42,7 @@ declare module "redis" {
retry_max_delay?: number;
connect_timeout?: number;
max_attempts?: number;
auth_pass?: boolean;
auth_pass?: string;
}

interface RedisClient extends NodeJS.EventEmitter {
Expand Down

0 comments on commit bba3415

Please sign in to comment.