You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Merge branch 'v5' of github.com:leibale/node-redis into v5
This commit is contained in:
@@ -375,8 +375,9 @@ export default class RedisCluster<
|
||||
}) as RedisClusterType<_M, _F, _S, _RESP, _TYPE_MAPPING>;
|
||||
}
|
||||
|
||||
connect() {
|
||||
return this._self.#slots.connect();
|
||||
async connect() {
|
||||
await this._self.#slots.connect();
|
||||
return this as unknown as RedisClusterType<M, F, S, RESP, TYPE_MAPPING>;
|
||||
}
|
||||
|
||||
withCommandOptions<
|
||||
|
Reference in New Issue
Block a user