Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr Borisov committed May 25, 2024
1 parent f7a4ce0 commit 1187070
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
};

Expand Down

0 comments on commit 1187070

Please sign in to comment.