mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Fixed hmset allowing support for data as object
This commit is contained in:
Vendored
+5
-3
@@ -239,9 +239,11 @@ 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<string>;
|
||||
|
||||
hmset(key: string, field: string, value: any, ...args: string[]): any;
|
||||
hget(key: string, field: string): Promise<string>;
|
||||
|
||||
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>;
|
||||
|
||||
hmget(key: string, field: string, ...fields: string[]): any;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user