1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-03 04:01:40 +03:00
Files
node-redis/packages/client/lib/commands/ZPOPMIN_COUNT.ts
2021-12-20 14:47:51 -05:00

17 lines
486 B
TypeScript

import { RedisCommandArgument, RedisCommandArguments } from '.';
import { transformArguments as transformZPopMinArguments } from './ZPOPMIN';
export { FIRST_KEY_INDEX } from './ZPOPMIN';
export function transformArguments(
key: RedisCommandArgument,
count: number
): RedisCommandArguments {
return [
...transformZPopMinArguments(key),
count.toString()
];
}
export { transformSortedSetWithScoresReply as transformReply } from './generic-transformers';