We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In this commit 7a2f901#diff-243f86a2e64131743ca04681df5d21438e79fcabe06f18029cb8dcef6a70121fR351
the type of AxiosRequestConfig got changed such that it is not longer possible to used indexed access to the headers.
AxiosRequestConfig
error TS2551: Property 'Content-Type' does not exist on type 'AxiosHeaders | AxiosResponseHeaders | Partial<RawAxiosHeaders & MethodsHeaders & CommonHeaders> | Partial<...>'. Did you mean 'setContentType'? const exHeader = headers['content-type'] || headers[KEY_CONTENT_TYPE];
This affects code that tried to read headers from the config
config.headers['content-type']
where config is of type AxiosRequestConfig
config
No response
The text was updated successfully, but these errors were encountered:
Probably related to #5416.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
In this commit 7a2f901#diff-243f86a2e64131743ca04681df5d21438e79fcabe06f18029cb8dcef6a70121fR351
the type of
AxiosRequestConfig
got changed such that it is not longer possible to used indexed access to the headers.This affects code that tried to read headers from the config
To Reproduce
where
config
is of typeAxiosRequestConfig
Code snippet
No response
Expected behavior
No response
Axios Version
No response
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
No response
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered: