Merge pull request #24475 from hisorange/master

Add missing 'bclient' type to Bull types
This commit is contained in:
Nathan Shively-Sanders
2018-03-28 09:09:30 -07:00
committed by GitHub

View File

@@ -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