mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
fix AxiosRequestConfig generic (#5478)
pass AxiosRequestConfig generic D to RawAxiosRequestConfig
This commit is contained in:
Vendored
+1
-1
@@ -325,7 +325,7 @@ export interface RawAxiosRequestConfig<D = any> {
|
|||||||
formSerializer?: FormSerializerOptions;
|
formSerializer?: FormSerializerOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AxiosRequestConfig<D = any> extends RawAxiosRequestConfig {
|
export interface AxiosRequestConfig<D = any> extends RawAxiosRequestConfig<D> {
|
||||||
headers: AxiosRequestHeaders;
|
headers: AxiosRequestHeaders;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user