Skip to content

Commit d0203d7

Browse files
VojtaStanekleibale
andauthored
Client: Export errors (redis#1750)
* Client: Export errors * export RedisModules & RedisScripts as well Co-authored-by: Leibale Eidelman <[email protected]>
1 parent 592714f commit d0203d7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/client/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import RedisCluster from './lib/cluster';
33

44
export { RedisClientType, RedisClientOptions } from './lib/client';
55

6+
export { RedisModules, RedisScripts } from './lib/commands';
7+
68
export const createClient = RedisClient.create;
79

810
export const commandOptions = RedisClient.commandOptions;
@@ -12,3 +14,5 @@ export { RedisClusterType, RedisClusterOptions } from './lib/cluster';
1214
export const createCluster = RedisCluster.create;
1315

1416
export { defineScript } from './lib/lua-script';
17+
18+
export * from './lib/errors';

0 commit comments

Comments
 (0)