1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-14 21:21:31 +03:00
Files
node-redis/lib/commands/ZINTER_WITHSCORES.ts
2021-06-18 16:51:30 -04:00

14 lines
472 B
TypeScript

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>): Array<string> {
return [
...transformZInterArguments(...args),
'WITHSCORES'
];
}
export const transformReply = transformReplySortedSetWithScores;