mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Import redis definitions from @types (#16215)
This commit is contained in:
1838
types/redis/index.d.ts
vendored
1838
types/redis/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@@ -61,7 +61,7 @@ client.end(true);
|
||||
|
||||
// Connection (http://redis.io/commands#connection)
|
||||
client.auth(str, resCallback);
|
||||
client.ping(numCallback);
|
||||
client.ping(strCallback);
|
||||
client.unref();
|
||||
|
||||
// Strings (http://redis.io/commands#strings)
|
||||
@@ -79,10 +79,10 @@ client.once(str, messageHandler);
|
||||
// ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
|
||||
|
||||
// some of the bulk methods
|
||||
client.get(args);
|
||||
client.get(args, resCallback);
|
||||
client.set(args);
|
||||
client.set(args, resCallback);
|
||||
client.get('test');
|
||||
client.get('test', resCallback);
|
||||
client.set('test', 'test');
|
||||
client.set('test', 'test', resCallback);
|
||||
client.mset(args, resCallback);
|
||||
|
||||
client.incr(str, resCallback);
|
||||
@@ -104,7 +104,7 @@ client.multi()
|
||||
.dbsize()
|
||||
.exec(resCallback);
|
||||
|
||||
client.multi(commandArr).exec();
|
||||
client.multi([['get', 'test']]).exec();
|
||||
|
||||
// Monitor mode
|
||||
client.monitor(resCallback);
|
||||
|
||||
Reference in New Issue
Block a user