You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
add buffer support to a bunch of commands
This commit is contained in:
@@ -9,9 +9,9 @@ export function transformArguments(key: string): Array<string> {
|
||||
];
|
||||
}
|
||||
|
||||
export function transformReply(reply: [string, string] | []): ZMember | null {
|
||||
export function transformReply(reply: [string, string] | []): ZMember<string> | null {
|
||||
if (!reply.length) return null;
|
||||
|
||||
|
||||
return {
|
||||
value: reply[0],
|
||||
score: transformReplyNumberInfinity(reply[1])
|
||||
|
Reference in New Issue
Block a user