You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-03 04:01:40 +03:00
17 lines
486 B
TypeScript
17 lines
486 B
TypeScript
import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
import { transformArguments as transformZPopMaxArguments } from './ZPOPMAX';
|
|
|
|
export { FIRST_KEY_INDEX } from './ZPOPMAX';
|
|
|
|
export function transformArguments(
|
|
key: RedisCommandArgument,
|
|
count: number
|
|
): RedisCommandArguments {
|
|
return [
|
|
...transformZPopMaxArguments(key),
|
|
count.toString()
|
|
];
|
|
}
|
|
|
|
export { transformSortedSetWithScoresReply as transformReply } from './generic-transformers';
|