From 07c07f84669527596147eac426ea1ac673a353cd Mon Sep 17 00:00:00 2001 From: SCG82 Date: Fri, 23 Dec 2022 16:54:08 -0800 Subject: [PATCH] Named export to support ESM imports in Typescript --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index 6fc5eeed..2b324d36 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -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"; /**