You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The headers attribute in AxiosRequestConfig is optional, and InternalAxiosRequestConfig inherits from AxiosRequestConfig, but its headers attribute is required.
The InternalAxiosRequestConfig interface is inherited when encapsulating axios, but its headers attribute is required, resulting in new AxiosHeaders() being assigned to it every time it is used.
Why is it designed?
Example Code
No response
Expected behavior
No response
Axios Version
1.3.4
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:
Describe the issue
The headers attribute in AxiosRequestConfig is optional, and InternalAxiosRequestConfig inherits from AxiosRequestConfig, but its headers attribute is required.
The InternalAxiosRequestConfig interface is inherited when encapsulating axios, but its headers attribute is required, resulting in new AxiosHeaders() being assigned to it every time it is used.
Why is it designed?
Example Code
No response
Expected behavior
No response
Axios Version
1.3.4
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: