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 Jan 14, 2023
1 parent 29954a7 commit cdded57
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 cdded57

Please sign in to comment.