You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
WIP
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user