mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
Merge pull request #1177 from dhcmrlchtdj/fix-typing
Fixing typing issues #1154 #1147
This commit is contained in:
Vendored
+5
-1
@@ -14,6 +14,10 @@ export interface AxiosBasicCredentials {
|
|||||||
export interface AxiosProxyConfig {
|
export interface AxiosProxyConfig {
|
||||||
host: string;
|
host: string;
|
||||||
port: number;
|
port: number;
|
||||||
|
auth?: {
|
||||||
|
username: string;
|
||||||
|
password:string;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AxiosRequestConfig {
|
export interface AxiosRequestConfig {
|
||||||
@@ -40,7 +44,7 @@ export interface AxiosRequestConfig {
|
|||||||
maxRedirects?: number;
|
maxRedirects?: number;
|
||||||
httpAgent?: any;
|
httpAgent?: any;
|
||||||
httpsAgent?: any;
|
httpsAgent?: any;
|
||||||
proxy?: AxiosProxyConfig;
|
proxy?: AxiosProxyConfig | false;
|
||||||
cancelToken?: CancelToken;
|
cancelToken?: CancelToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user