You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +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:
@@ -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";
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user