diff --git a/typings/index.d.ts b/typings/index.d.ts index 654aa2e..802baf3 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2,7 +2,7 @@ import { AxiosInstance } from 'axios'; export interface RateLimitedAxiosInstance extends AxiosInstance { getMaxRPS: () => number, - setMaxRPS: (rps:number) => void, + setMaxRPS: (rps: number) => void, setRateLimitOptions: (options: rateLimitOptions) => void, // enable(axios: any): void, // handleRequest(request:any):any, @@ -12,9 +12,9 @@ export interface RateLimitedAxiosInstance extends AxiosInstance { // shift():any } -export type rateLimitOptions = { - maxRequests?: number, - perMilliseconds?: number, +export type rateLimitOptions = { + maxRequests?: number, + perMilliseconds?: number, maxRPS?: number };