You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
9 lines
265 B
TypeScript
9 lines
265 B
TypeScript
import { Command, NumberReply, RedisArgument } from '../RESP/types';
|
|
|
|
export default {
|
|
transformArguments(key: RedisArgument) {
|
|
return ['CLUSTER', 'KEYSLOT', key];
|
|
},
|
|
transformReply: undefined as unknown as () => NumberReply
|
|
} as const satisfies Command;
|