1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/lib/commands/ZINTER_WITHSCORES.ts

15 lines
527 B
TypeScript

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