Skip to content

Commit 77592d2

Browse files
committed
add comment to json.type for what we are doing
1 parent 4bee30f commit 77592d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/json/lib/commands/TYPE.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default {
1818
},
1919
transformReply: {
2020
2: undefined as unknown as () => NullReply | BlobStringReply | ArrayReply<BlobStringReply | NullReply>,
21+
// TODO: RESP3 wraps the response in another array, but only returns 1
2122
3: (reply: UnwrapReply<ArrayReply<NullReply | BlobStringReply | ArrayReply<BlobStringReply | NullReply>>>) => {
2223
return reply[0];
2324
}

0 commit comments

Comments
 (0)