mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-06 09:19:08 +00:00
Merge pull request #22115 from jeffkenney/fix-ioredis-promise-type
ioredis: use correct Promise implementation
This commit is contained in:
3
types/ioredis/index.d.ts
vendored
3
types/ioredis/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user