1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

Export SetOptions type in redis/client command (#2268)

* Export setOptions type

* Export setOptions type in commands

* Revert "Export setOptions type in commands"

* Export SetOptions type in redis client

* Export SetOptions type in @redis/client

* Fix lint
This commit is contained in:
Kien Dang
2022-09-22 04:05:16 +07:00
committed by GitHub
parent e1c0580d65
commit 2a8e11a51d
2 changed files with 3 additions and 1 deletions

View File

@@ -18,3 +18,5 @@ export { defineScript } from './lib/lua-script';
export { GeoReplyWith } from './lib/commands/generic-transformers'; export { GeoReplyWith } from './lib/commands/generic-transformers';
export * from './lib/errors'; export * from './lib/errors';
export { SetOptions } from "./lib/commands/SET";

View File

@@ -22,7 +22,7 @@ interface SetCommonOptions {
GET?: true; GET?: true;
} }
type SetOptions = SetTTL & SetGuards & SetCommonOptions; export type SetOptions = SetTTL & SetGuards & SetCommonOptions;
export function transformArguments( export function transformArguments(
key: RedisCommandArgument, key: RedisCommandArgument,