mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Fixed ioredis.hmset in pipeline allowing support for data as object
This commit is contained in:
1
types/ioredis/index.d.ts
vendored
1
types/ioredis/index.d.ts
vendored
@@ -595,6 +595,7 @@ declare namespace IORedis {
|
||||
hget(key: string, field: string, callback?: (err: Error, res: string) => void): Pipeline;
|
||||
|
||||
hmset(key: string, field: string, value: any, ...args: string[]): Pipeline;
|
||||
hmset(key: string, data: any, callback?: (err: Error, res: 0 | 1) => void): Pipeline;
|
||||
|
||||
hmget(key: string, ...fields: string[]): Pipeline;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user