Skip to content

Commit 6288f7d

Browse files
ddzyanmanast
authored andcommitted
fix: support for instantiation using redisUrl
1 parent 86c7cf1 commit 6288f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ declare namespace Bull {
6464
* Options passed into the `ioredis` constructor's `options` parameter.
6565
* `connectionName` is overwritten with `Queue.clientName()`. other properties are copied
6666
*/
67-
redis?: Redis.RedisOptions | undefined;
67+
redis?: Redis.RedisOptions | string| undefined;
6868

6969
/**
7070
* When specified, the `Queue` will use this function to create new `ioredis` client connections.

0 commit comments

Comments
 (0)