File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,10 @@ declare module "bottleneck" {
169169 * An existing NodeRedis client to use. If using, `clientOptions` will be ignored.
170170 */
171171 readonly client ?: any ;
172+ /**
173+ * Optional IORedis library from `require('ioredis')` or equivalent. If not, bottleneck will attempt to require ioredis at runtime.
174+ */
175+ readonly Redis ?: any ;
172176 } ;
173177
174178 type IORedisConnectionOptions = {
@@ -184,6 +188,10 @@ declare module "bottleneck" {
184188 * An existing ioredis client to use. If using, `clientOptions` and `clusterNodes` will be ignored.
185189 */
186190 readonly client ?: any ;
191+ /**
192+ * Optional IORedis library from `require('ioredis')` or equivalent. If not, bottleneck will attempt to require
193+ */
194+ readonly Redis ?: any ;
187195 } ;
188196
189197 type BatcherOptions = {
You can’t perform that action at this time.
0 commit comments