1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/packages/bloom/lib/commands/t-digest/RESET.ts
2023-07-05 15:22:33 -04:00

11 lines
343 B
TypeScript

import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types';
export default {
FIRST_KEY_INDEX: 1,
IS_READ_ONLY: false,
transformArguments(key: RedisArgument) {
return ['TDIGEST.RESET', key];
},
transformReply: undefined as unknown as () => SimpleStringReply<'OK'>
} as const satisfies Command;