You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
9 lines
285 B
TypeScript
9 lines
285 B
TypeScript
import { RedisArgument, SimpleStringReply, Command } from '../RESP/types';
|
|
|
|
export default {
|
|
transformArguments(nodeId: RedisArgument) {
|
|
return ['CLUSTER', 'REPLICATE', nodeId];
|
|
},
|
|
transformReply: undefined as unknown as () => SimpleStringReply
|
|
} as const satisfies Command;
|