Skip to content

Commit

Permalink
fix: Named export to support ESM imports in Typescript (#1695)
Browse files Browse the repository at this point in the history
  • Loading branch information
SCG82 authored and luin committed Apr 15, 2023
1 parent 66e4fb7 commit f5dd11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exports = module.exports = require("./Redis").default;

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

/**
Expand Down

0 comments on commit f5dd11b

Please sign in to comment.