Fixed ioredis.hmset in pipeline allowing support for data as object

This commit is contained in:
d-yokoi
2018-03-12 08:22:20 +09:00
parent 9bb6dc2f8b
commit 5f6bf413a4

View File

@@ -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;