Skip to content

Commit 8439dec

Browse files
authored
Add type to node-redis cluster function
Should have been part of #208
1 parent aae8b1d commit 8439dec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ below:
140140
| Library | Function |
141141
| ------------------------------------------------------------------ | ----------------------------------------------------------------------------- |
142142
| [`node-redis`](https://github.com/redis/node-redis) | `async (...args: string[]) => client.sendCommand(args)` |
143-
| [`node-redis`](https://github.com/redis/node-redis) (cluster) | `async (...args) => cluster.sendCommand(args[1], false, args)` |
143+
| [`node-redis`](https://github.com/redis/node-redis) (cluster) | `async (...args: string[]) => cluster.sendCommand(args[1], false, args)` |
144144
| [`ioredis`](https://github.com/luin/ioredis) | `async (command: string, ...args: string[]) => client.call(command, ...args)` |
145145
| [`handy-redis`](https://github.com/mmkal/handy-redis) | `async (...args: string[]) => client.nodeRedis.sendCommand(args)` |
146146
| [`tedis`](https://github.com/silkjs/tedis) | `async (...args: string[]) => client.command(...args)` |

0 commit comments

Comments
 (0)