1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-03 04:01:40 +03:00
Files
node-redis/packages/client/lib/commands/CLUSTER_DELSLOTSRANGE.ts
Avital Fine 6b8a40a36b Support new cluster commands (#2050)
* Support new cluster commands

* clean code

Co-authored-by: leibale <leibale1998@gmail.com>
2022-03-27 13:06:27 -04:00

14 lines
372 B
TypeScript

import { RedisCommandArguments } from '.';
import { pushSlotRangesArguments, SlotRange } from './generic-transformers';
export function transformArguments(
ranges: SlotRange | Array<SlotRange>
): RedisCommandArguments {
return pushSlotRangesArguments(
['CLUSTER', 'DELSLOTSRANGE'],
ranges
);
}
export declare function transformReply(): 'OK';