mirror of
https://github.com/tenrok/axios.git
synced 2026-05-24 14:04:14 +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 {
|
||||
host: string;
|
||||
port: number;
|
||||
auth?: {
|
||||
username: string;
|
||||
password:string;
|
||||
}
|
||||
}
|
||||
|
||||
export interface AxiosRequestConfig {
|
||||
@@ -40,7 +44,7 @@ export interface AxiosRequestConfig {
|
||||
maxRedirects?: number;
|
||||
httpAgent?: any;
|
||||
httpsAgent?: any;
|
||||
proxy?: AxiosProxyConfig;
|
||||
proxy?: AxiosProxyConfig | false;
|
||||
cancelToken?: CancelToken;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user