2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

fix(types): added transport to RawAxiosRequestConfig (#5445)

This commit is contained in:
Michael Di Prisco
2023-04-13 23:45:02 +02:00
committed by GitHub
parent 4af78a72ee
commit 6f360a2531
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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;
Vendored
+1
View File
@@ -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;