From a89a9002db70d44c83dfa6aaef81fb40caa5fb19 Mon Sep 17 00:00:00 2001 From: fabrykowski <63718812+fabrykowski@users.noreply.github.com> Date: Thu, 31 Mar 2022 15:50:04 +0200 Subject: [PATCH] fix: add named exports to keep compatible with @types/ioredis (#1552) --- lib/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.ts b/lib/index.ts index 233232b6..766c9b1f 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -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"; /**