Skip to content

Commit

Permalink
fix AxiosRequestConfig generic (#5478)
Browse files Browse the repository at this point in the history
pass AxiosRequestConfig generic D to RawAxiosRequestConfig
  • Loading branch information
hilleer committed Jan 19, 2023
1 parent 557ed0a commit 186ea06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -325,7 +325,7 @@ export interface RawAxiosRequestConfig<D = any> {
formSerializer?: FormSerializerOptions;
}

export interface AxiosRequestConfig<D = any> extends RawAxiosRequestConfig {
export interface AxiosRequestConfig<D = any> extends RawAxiosRequestConfig<D> {
headers: AxiosRequestHeaders;
}

Expand Down

0 comments on commit 186ea06

Please sign in to comment.