mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
[redis] hgetall cb to be optional
This commit is contained in:
Vendored
+2
-2
@@ -472,8 +472,8 @@ export interface Commands<R> {
|
||||
/**
|
||||
* Get all fields and values in a hash.
|
||||
*/
|
||||
hgetall(key: string, cb: Callback<{ [key: string]: string }>): R;
|
||||
HGETALL(key: string, cb: Callback<{ [key: string]: string }>): R;
|
||||
hgetall(key: string, cb?: Callback<{ [key: string]: string }>): R;
|
||||
HGETALL(key: string, cb?: Callback<{ [key: string]: string }>): R;
|
||||
|
||||
/**
|
||||
* Increment the integer value of a hash field by the given number.
|
||||
|
||||
Reference in New Issue
Block a user