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,4 +1,4 @@
|
||||
import { RedisArgument, TuplesToMapReply, BlobStringReply, NumberReply, Resp2Reply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
import { RedisArgument, TuplesToMapReply, BlobStringReply, NumberReply, UnwrapReply, Resp2Reply, Command } from '@redis/client/dist/lib/RESP/types';
|
||||
|
||||
export type BfInfoReply = TuplesToMapReply<[
|
||||
[BlobStringReply<'width'>, NumberReply],
|
||||
@@ -13,7 +13,7 @@ export default {
|
||||
return ['CMS.INFO', key];
|
||||
},
|
||||
transformReply: {
|
||||
2: (reply: Resp2Reply<BfInfoReply>) => ({
|
||||
2: (reply: UnwrapReply<Resp2Reply<BfInfoReply>>) => ({
|
||||
width: reply[1],
|
||||
depth: reply[3],
|
||||
count: reply[5]
|
||||
|
Reference in New Issue
Block a user