diff --git a/src/types.ts b/src/types.ts index 70a2fd99..cc91d69c 100644 --- a/src/types.ts +++ b/src/types.ts @@ -26,10 +26,10 @@ export type SecondaryLimitHandler = { export type ThrottlingOptionsBase = { enabled?: boolean; - Bottleneck?: any; + Bottleneck?: typeof Bottleneck; id?: string; timeout?: number; - connection?: any; + connection?: Bottleneck.RedisConnection | Bottleneck.IORedisConnection; minimumSecondaryRateRetryAfter?: number; retryAfterBaseValue?: number; write?: Bottleneck.Group;