diff --git a/node_redis/node_redis.d.ts b/node_redis/node_redis.d.ts index 32e19647f..8505556fb 100644 --- a/node_redis/node_redis.d.ts +++ b/node_redis/node_redis.d.ts @@ -333,8 +333,8 @@ declare module 'redis' { retry_delay : number; retry_backoff: number; - auth(password: string, callback: Function): void; - AUTH(password: string, callback: Function): void; + auth(password?: string, callback?: Function): void; + AUTH(password?: string, callback?: Function): void; end(): RedisClient;