Skip to content

Commit

Permalink
fixup! Add support for IORedis.Cluster type in ConnectionOptions for …
Browse files Browse the repository at this point in the history
…TypeScript
  • Loading branch information
glensc committed Sep 8, 2020
1 parent 645e807 commit 49f0583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class Connection extends EventEmitter {
options: ConnectionOptions | null;
private eventListeners: EventListeners;
connected: boolean;
redis: IORedis.Redis;
redis: IORedis.Redis | IORedis.Cluster;

constructor(options: ConnectionOptions = {}) {
super();
Expand Down

0 comments on commit 49f0583

Please sign in to comment.