2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

Fixing typing issues #1154 #1147

This commit is contained in:
niris
2017-11-12 12:30:02 +08:00
parent ad1195f070
commit f0293696e7
Vendored
+5 -1
View File
@@ -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;
} }