Skip to content

Commit

Permalink
fix: add named exports to keep compatible with @types/ioredis (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabrykowski authored Mar 31, 2022
1 parent 2f3f98f commit a89a900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
exports = module.exports = require("./Redis").default;

export { default } from "./Redis";
export type { default as Redis } from "./Redis";
export { default as Cluster } from "./cluster";

/**
Expand Down

0 comments on commit a89a900

Please sign in to comment.