From d0203d713ae37ed4e966d89ffd702565e761f6b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojta=20Stan=C4=9Bk?= Date: Wed, 1 Dec 2021 01:17:11 +0100 Subject: [PATCH] Client: Export errors (#1750) * Client: Export errors * export RedisModules & RedisScripts as well Co-authored-by: Leibale Eidelman --- packages/client/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/client/index.ts b/packages/client/index.ts index 45b4f59ee4..1a5d497aa9 100644 --- a/packages/client/index.ts +++ b/packages/client/index.ts @@ -3,6 +3,8 @@ import RedisCluster from './lib/cluster'; export { RedisClientType, RedisClientOptions } from './lib/client'; +export { RedisModules, RedisScripts } from './lib/commands'; + export const createClient = RedisClient.create; export const commandOptions = RedisClient.commandOptions; @@ -12,3 +14,5 @@ export { RedisClusterType, RedisClusterOptions } from './lib/cluster'; export const createCluster = RedisCluster.create; export { defineScript } from './lib/lua-script'; + +export * from './lib/errors';