NodeRedis/node-redis

View on GitHub
packages/client/lib/commands/DISCARD.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { CommandParser } from '../client/parser';
import { SimpleStringReply, Command } from '../RESP/types';

export default {
  parseCommand(parser: CommandParser) {
    parser.push('DISCARD');
  },
  transformReply: undefined as unknown as () => SimpleStringReply
} as const satisfies Command;