mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-30 17:04:20 +08:00
Expose `IORedis` namespace along with the value.
This commit is contained in:
4
ioredis/index.d.ts
vendored
4
ioredis/index.d.ts
vendored
@@ -22,8 +22,8 @@ interface RedisStatic {
|
||||
Cluster: IORedis.Cluster;
|
||||
}
|
||||
|
||||
declare var redis: RedisStatic;
|
||||
export = redis;
|
||||
declare var IORedis: RedisStatic;
|
||||
export = IORedis;
|
||||
|
||||
declare module IORedis {
|
||||
interface Commander {
|
||||
|
||||
Reference in New Issue
Block a user