Skip to content

Commit 6f360a2

Browse files
authored
fix(types): added transport to RawAxiosRequestConfig (#5445)
1 parent 4af78a7 commit 6f360a2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎index.d.cts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ declare namespace axios {
390390
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
391391
beforeRedirect?: (options: Record<string, any>, responseDetails: {headers: Record<string, string>}) => void;
392392
socketPath?: string | null;
393+
transport?: any;
393394
httpAgent?: any;
394395
httpsAgent?: any;
395396
proxy?: AxiosProxyConfig | false;

‎index.d.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ export interface AxiosRequestConfig<D = any> {
331331
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
332332
beforeRedirect?: (options: Record<string, any>, responseDetails: {headers: Record<string, string>}) => void;
333333
socketPath?: string | null;
334+
transport?: any;
334335
httpAgent?: any;
335336
httpsAgent?: any;
336337
proxy?: AxiosProxyConfig | false;

0 commit comments

Comments
 (0)