mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Merge pull request #30648 from 9renpoto/master
[redis] Fixed redisClient.zincrby callback
This commit is contained in:
Vendored
+2
-2
@@ -1025,8 +1025,8 @@ export interface Commands<R> {
|
||||
/**
|
||||
* Increment the score of a member in a sorted set.
|
||||
*/
|
||||
zincrby(key: string, increment: number, member: string, cb?: Callback<number>): R;
|
||||
ZINCRBY(key: string, increment: number, member: string, cb?: Callback<number>): R;
|
||||
zincrby(key: string, increment: number, member: string, cb?: Callback<string>): R;
|
||||
ZINCRBY(key: string, increment: number, member: string, cb?: Callback<string>): R;
|
||||
|
||||
/**
|
||||
* Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
||||
|
||||
@@ -131,3 +131,5 @@ client.incrbyfloat('a', 1.5, (error, value) => value.startsWith('1'));
|
||||
client.INCRBYFLOAT('a', 1.5, (error, value) => value.startsWith('1'));
|
||||
client.hincrbyfloat('a', 'b', 1.5, (error, value) => value.startsWith('1'));
|
||||
client.HINCRBYFLOAT('a', 'b', 1.5, (error, value) => value.startsWith('1'));
|
||||
client.zincrby('a', 1, 'b', strCallback);
|
||||
client.ZINCRBY('a', 1, 'b', strCallback);
|
||||
|
||||
Reference in New Issue
Block a user