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/ZPOPMIN_COUNT.ts
2021-06-18 16:51:30 -04:00

14 lines
436 B
TypeScript

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