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
Under the current situation where documentation is not well maintained, mistakes and misunderstandings can occur with the following argument types.
Check the following examples.
axios.create({
paramsSerializer: {
encode: value => value
serialize: value => value // Value not referenced at runtime
}
})
So we should remove the pattern of receiving both functions by modifying the type.
Or you should update the documentation.
Describe the bug
ParamsSerializerOptions contains type definitions that are unnecessary from an implementation standpoint.
https://github.com/DigitalBrainJS/axios/blob/92f0758429541b05c614dc25bc712379d8a41dbd/lib/helpers/buildURL.js#L51-L57
Under the current situation where documentation is not well maintained, mistakes and misunderstandings can occur with the following argument types.
Check the following examples.
So we should remove the pattern of receiving both functions by modifying the type.
Or you should update the documentation.
PR: #5770
To Reproduce
No response
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: