Expose `IORedis` namespace along with the value.
This commit is contained in:
Mohamed Hegazy
2016-07-17 11:30:20 -07:00
committed by GitHub
parent 677ebd4e54
commit 20cfe366ca

4
ioredis/index.d.ts vendored
View File

@@ -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 {