mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
Fixing interface of axios instance
This commit is contained in:
Vendored
+2
@@ -101,6 +101,8 @@ export interface AxiosInterceptorManager<V> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface AxiosInstance {
|
export interface AxiosInstance {
|
||||||
|
(config: AxiosRequestConfig): AxiosPromise;
|
||||||
|
(url: string, config?: AxiosRequestConfig): AxiosPromise;
|
||||||
defaults: AxiosRequestConfig;
|
defaults: AxiosRequestConfig;
|
||||||
interceptors: {
|
interceptors: {
|
||||||
request: AxiosInterceptorManager<AxiosRequestConfig>;
|
request: AxiosInterceptorManager<AxiosRequestConfig>;
|
||||||
|
|||||||
Reference in New Issue
Block a user