We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6be81ba commit 5ccd50fCopy full SHA for 5ccd50f
src/types.ts
@@ -26,10 +26,10 @@ export type SecondaryLimitHandler = {
26
27
export type ThrottlingOptionsBase = {
28
enabled?: boolean;
29
- Bottleneck?: any;
+ Bottleneck?: typeof Bottleneck;
30
id?: string;
31
timeout?: number;
32
- connection?: any;
+ connection?: Bottleneck.RedisConnection | Bottleneck.IORedisConnection;
33
minimumSecondaryRateRetryAfter?: number;
34
retryAfterBaseValue?: number;
35
write?: Bottleneck.Group;
0 commit comments