mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 19:43:20 +08:00
ioredis: use correct Promise implementation
This commit is contained in:
2
types/ioredis/index.d.ts
vendored
2
types/ioredis/index.d.ts
vendored
@@ -13,6 +13,8 @@
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
import Promise = require('bluebird');
|
||||
|
||||
interface RedisStatic {
|
||||
new(port?: number, host?: string, options?: IORedis.RedisOptions): IORedis.Redis;
|
||||
new(host?: string, options?: IORedis.RedisOptions): IORedis.Redis;
|
||||
|
||||
Reference in New Issue
Block a user