mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
update missing ioredis/onPossiblyUnhandledRejection
This commit is contained in:
Vendored
+1
@@ -48,6 +48,7 @@ declare namespace IORedis {
|
||||
}
|
||||
|
||||
interface Redis extends NodeJS.EventEmitter, Commander {
|
||||
Promise: typeof Promise;
|
||||
status: string;
|
||||
connect(callback?: () => void): Promise<any>;
|
||||
disconnect(): void;
|
||||
|
||||
@@ -105,7 +105,10 @@ redis.multi([
|
||||
// results = [[null, 'OK'], [null, 'bar']]
|
||||
});
|
||||
|
||||
const keys = [ 'foo', 'bar' ];
|
||||
redis.Promise.onPossiblyUnhandledRejection((error) => {
|
||||
});
|
||||
|
||||
const keys = ['foo', 'bar'];
|
||||
redis.mget(...keys);
|
||||
|
||||
new Redis.Cluster([
|
||||
|
||||
Reference in New Issue
Block a user