Skip to content

Commit

Permalink
fix: support for instantiation using redisUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
ddzyan authored and manast committed Oct 13, 2022
1 parent 86c7cf1 commit 6288f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ declare namespace Bull {
* Options passed into the `ioredis` constructor's `options` parameter.
* `connectionName` is overwritten with `Queue.clientName()`. other properties are copied
*/
redis?: Redis.RedisOptions | undefined;
redis?: Redis.RedisOptions | string| undefined;

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

0 comments on commit 6288f7d

Please sign in to comment.