1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
This commit is contained in:
Leibale
2023-06-22 18:18:23 -04:00
parent b46f08228c
commit 2b318d4100
27 changed files with 595 additions and 578 deletions

View File

@@ -1,5 +1,5 @@
import { DoubleReply, NullReply, Command, RedisArgument } from '../RESP/types';
import { RedisArgument, Command } from '../RESP/types';
import { transformNullableDoubleReply } from './generic-transformers';
export default {
@@ -8,8 +8,5 @@ export default {
transformArguments(key: RedisArgument, member: RedisArgument) {
return ['ZSCORE', key, member];
},
transformReply: {
2: transformNullableDoubleReply,
3: undefined as unknown as () => DoubleReply | NullReply
}
transformReply: transformNullableDoubleReply
} as const satisfies Command;