Skip to content

Commit

Permalink
fix(types): added transport to RawAxiosRequestConfig (#5445)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadienvan committed Apr 13, 2023
1 parent 4af78a7 commit 6f360a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.cts
Expand Up @@ -390,6 +390,7 @@ declare namespace axios {
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
beforeRedirect?: (options: Record<string, any>, responseDetails: {headers: Record<string, string>}) => void;
socketPath?: string | null;
transport?: any;
httpAgent?: any;
httpsAgent?: any;
proxy?: AxiosProxyConfig | false;
Expand Down
1 change: 1 addition & 0 deletions index.d.ts
Expand Up @@ -331,6 +331,7 @@ export interface AxiosRequestConfig<D = any> {
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
beforeRedirect?: (options: Record<string, any>, responseDetails: {headers: Record<string, string>}) => void;
socketPath?: string | null;
transport?: any;
httpAgent?: any;
httpsAgent?: any;
proxy?: AxiosProxyConfig | false;
Expand Down

0 comments on commit 6f360a2

Please sign in to comment.