diff --git a/packages/client/index.ts b/packages/client/index.ts index 734c15664d..7e2d25f6d1 100644 --- a/packages/client/index.ts +++ b/packages/client/index.ts @@ -18,3 +18,5 @@ export { defineScript } from './lib/lua-script'; export { GeoReplyWith } from './lib/commands/generic-transformers'; export * from './lib/errors'; + +export { SetOptions } from "./lib/commands/SET"; diff --git a/packages/client/lib/commands/SET.ts b/packages/client/lib/commands/SET.ts index 3f9f568f23..7c679b7084 100644 --- a/packages/client/lib/commands/SET.ts +++ b/packages/client/lib/commands/SET.ts @@ -22,7 +22,7 @@ interface SetCommonOptions { GET?: true; } -type SetOptions = SetTTL & SetGuards & SetCommonOptions; +export type SetOptions = SetTTL & SetGuards & SetCommonOptions; export function transformArguments( key: RedisCommandArgument,