1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/packages/client/lib/commands/CLUSTER_COUNTKEYSINSLOT.ts
Leibale 9faa3e77c4 WIP
2023-04-23 07:56:15 -04:00

10 lines
292 B
TypeScript

import { NumberReply, Command } from '../RESP/types';
export default {
IS_READ_ONLY: true,
transformArguments(slot: number) {
return ['CLUSTER', 'COUNT-FAILURE-REPORTS', slot.toString()];
},
transformReply: undefined as unknown as () => NumberReply
} as const satisfies Command;