You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-09-02 22:41:17 +03:00
15 lines
479 B
TypeScript
15 lines
479 B
TypeScript
import { deepEqual } from 'assert/strict';
|
|
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;
|