2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

fix(params): re-added the ability to set the function as paramsSerializer config; (#5633)

This commit is contained in:
Dmitriy Mozgovoy
2023-04-05 19:44:36 +03:00
committed by GitHub
parent e7decef6a9
commit a56c866120
4 changed files with 27 additions and 7 deletions
Vendored
+1 -1
View File
@@ -311,7 +311,7 @@ export interface AxiosRequestConfig<D = any> {
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders;
params?: any;
paramsSerializer?: ParamsSerializerOptions;
paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer;
data?: D;
timeout?: Milliseconds;
timeoutErrorMessage?: string;