packages/client/lib/commands/SDIFFSTORE.ts
import { CommandParser } from '../client/parser';
import { RedisArgument, NumberReply, Command } from '../RESP/types';
import { RedisVariadicArgument } from './generic-transformers';
export default {
parseCommand(parser: CommandParser, destination: RedisArgument, keys: RedisVariadicArgument) {
parser.push('SDIFFSTORE');
parser.pushKey(destination);
parser.pushKeys(keys);
},
transformReply: undefined as unknown as () => NumberReply
} as const satisfies Command;