You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
buffers, buffers everywhere...
This commit is contained in:
@@ -14,12 +14,14 @@ export function transformArguments(
|
||||
return args;
|
||||
}
|
||||
|
||||
type BLPopRawReply = null | [RedisCommandArgument, RedisCommandArgument];
|
||||
|
||||
type BLPopReply = null | {
|
||||
key: string;
|
||||
element: string;
|
||||
key: RedisCommandArgument;
|
||||
element: RedisCommandArgument;
|
||||
};
|
||||
|
||||
export function transformReply(reply: null | [string, string]): BLPopReply {
|
||||
export function transformReply(reply: BLPopRawReply): BLPopReply {
|
||||
if (reply === null) return null;
|
||||
|
||||
return {
|
||||
|
Reference in New Issue
Block a user