paramsSerializer documentation is outdated #5632
Labels
priority::high
A high priority issue that should be resolved soon
type::documentation
Used when improving documentation
Section/Content To Improve
In the https://axios-http.com/docs/req_config docs, the paramsSerializer usage says that it accepts a function in charge of serializing
params
,however on the newest version of axios (I'm using
1.3.4
) this will produce a TS errorThat's because now
paramsSerializer
uses an object that accepts aencode
andserialize
configurationSuggested Improvement
Update that portion of the
paramsSerializer
documentation for the new approach with {serialize,encode}Relevant File(s)
No response
The text was updated successfully, but these errors were encountered: