Merge pull request #22115 from jeffkenney/fix-ioredis-promise-type

ioredis: use correct Promise implementation
This commit is contained in:
Mine Starks
2017-12-13 10:10:10 -08:00
committed by GitHub

View File

@@ -5,6 +5,7 @@
// Yoga Aliarham <https://github.com/aliarham11>
// Ebrahim <https://github.com/br8h>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/* =================== USAGE ===================
import * as Redis from "ioredis";
@@ -13,6 +14,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;