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 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';
|