1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-17 19:41:06 +03:00
Files
node-redis/lib/commands/ZPOPMAX_COUNT.ts

14 lines
436 B
TypeScript

import { transformReplySortedSetWithScores } from './generic-transformers';
import { transformArguments as transformZPopMaxArguments } from './ZPOPMAX';
export { FIRST_KEY_INDEX } from './ZPOPMAX';
export function transformArguments(key: string, count: number): Array<string> {
return [
...transformZPopMaxArguments(key),
count.toString()
];
}
export const transformReply = transformReplySortedSetWithScores;