diff --git a/types/ioredis/index.d.ts b/types/ioredis/index.d.ts index 3734ac9114..01d930d84d 100644 --- a/types/ioredis/index.d.ts +++ b/types/ioredis/index.d.ts @@ -239,9 +239,9 @@ declare namespace IORedis { hsetnx(key: string, field: string, value: any): Promise<0 | 1>; hget(key: string, field: string, callback: (err: Error, res: string) => void): void; - hget(key: string, field: string): Promise; + hget(key: string, field: string): Promise; - hmset(key: string, field: string, value: any, ...args: string[]): Promise<0 | 1>; + hmset(key: string, field: string, value: any, ...args: string[]): Promise<0 | 1>; hmset(key: string, data: any, callback: (err: Error, res: 0 | 1) => void): void; hmset(key: string, data: any): Promise<0 | 1>;