mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Fixing missing type parameters on delete/head
This commit is contained in:
Vendored
+2
-2
@@ -110,8 +110,8 @@ export interface AxiosInstance {
|
|||||||
};
|
};
|
||||||
request<T = any>(config: AxiosRequestConfig): AxiosPromise<T>;
|
request<T = any>(config: AxiosRequestConfig): AxiosPromise<T>;
|
||||||
get<T = any>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
|
get<T = any>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
|
||||||
delete(url: string, config?: AxiosRequestConfig): AxiosPromise;
|
delete<T = any>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
|
||||||
head(url: string, config?: AxiosRequestConfig): AxiosPromise;
|
head<T = any>(url: string, config?: AxiosRequestConfig): AxiosPromise<T>;
|
||||||
post<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
|
post<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
|
||||||
put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
|
put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
|
||||||
patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
|
patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): AxiosPromise<T>;
|
||||||
|
|||||||
Reference in New Issue
Block a user