(parser: CommandParser, key: RedisArgument, count: number)
| 5 | export default { |
| 6 | IS_READ_ONLY: false, |
| 7 | parseCommand(parser: CommandParser, key: RedisArgument, count: number) { |
| 8 | parser.push('ZPOPMAX'); |
| 9 | parser.pushKey(key); |
| 10 | parser.push(count.toString()); |
| 11 | }, |
| 12 | transformReply: transformSortedSetReply |
| 13 | } as const satisfies Command; |