2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

chore(docs): consistent spacing after comment start (#5908)

chore(docs): consistent spacing after comment start (#5908)
This commit is contained in:
Dan Dascalescu
2025-01-31 03:02:11 +08:00
committed by GitHub
parent 1f890b13f2
commit f3723f5ad6
+2 -2
View File
@@ -411,13 +411,13 @@ These are the available config options for making requests. Only the `url` is re
// `paramsSerializer` is an optional config that allows you to customize serializing `params`.
paramsSerializer: {
//Custom encoder function which sends key/value pairs in an iterative fashion.
// Custom encoder function which sends key/value pairs in an iterative fashion.
encode?: (param: string): string => { /* Do custom operations here and return transformed string */ },
// Custom serializer function for the entire parameter. Allows user to mimic pre 1.x behaviour.
serialize?: (params: Record<string, any>, options?: ParamsSerializerOptions ),
//Configuration for formatting array indexes in the params.
// Configuration for formatting array indexes in the params.
indexes: false // Three available options: (1) indexes: null (leads to no brackets), (2) (default) indexes: false (leads to empty brackets), (3) indexes: true (leads to brackets with indexes).
},