1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

fix cluster slots PubSubNode type

This commit is contained in:
Leibale
2023-11-09 19:57:43 -05:00
parent 2d8c0f0b79
commit 37c39b71c9

View File

@@ -78,7 +78,7 @@ type PubSubNode<
RESP extends RespVersions,
TYPE_MAPPING extends TypeMapping
> = (
Exclude<Node<M, F, S, RESP, TYPE_MAPPING>, 'client'> &
Omit<Node<M, F, S, RESP, TYPE_MAPPING>, 'client'> &
Required<Pick<Node<M, F, S, RESP, TYPE_MAPPING>, 'client'>>
);