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