Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Expose `IORedis` namespace along with the value.
  • Loading branch information
mhegazy authored Jul 17, 2016
1 parent 677ebd4 commit 20cfe36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ioredis/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 20cfe36

Please sign in to comment.