mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 03:02:04 +08:00
Merge pull request #24475 from hisorange/master
Add missing 'bclient' type to Bull types
This commit is contained in:
2
types/bull/index.d.ts
vendored
2
types/bull/index.d.ts
vendored
@@ -42,7 +42,7 @@ declare namespace Bull {
|
||||
* When specified, the `Queue` will use this function to create new `ioredis` client connections.
|
||||
* This is useful if you want to re-use connections.
|
||||
*/
|
||||
createClient?(type: 'client' | 'subscriber', redisOpts?: Redis.RedisOptions): Redis.Redis;
|
||||
createClient?(type: 'client' | 'subscriber' | 'bclient', redisOpts?: Redis.RedisOptions): Redis.Redis;
|
||||
|
||||
/**
|
||||
* Prefix to use for all redis keys
|
||||
|
||||
Reference in New Issue
Block a user