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

14 lines
467 B
TypeScript

import { transformReplySortedSetWithScores } from './generic-transformers';
import { transformArguments as transformZDiffArguments } from './ZDIFF';
export { FIRST_KEY_INDEX, IS_READ_ONLY } from './ZDIFF';
export function transformArguments(...args: Parameters<typeof transformZDiffArguments>): Array<string> {
return [
...transformZDiffArguments(...args),
'WITHSCORES'
];
}
export const transformReply = transformReplySortedSetWithScores;