You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
WIP
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
export function transformArguments(key: string): Array<string> {
|
||||
return ['CLUSTER', 'KEYSLOT', key];
|
||||
}
|
||||
import { Command, NumberReply, RedisArgument } from '../RESP/types';
|
||||
|
||||
export declare function transformReply(): number;
|
||||
export default {
|
||||
transformArguments(key: RedisArgument) {
|
||||
return ['CLUSTER', 'KEYSLOT', key];
|
||||
},
|
||||
transformReply: undefined as unknown as () => NumberReply
|
||||
} as const satisfies Command;
|
||||
|
Reference in New Issue
Block a user