blob: 6c3c72bd3cbdbf544e382cdb6105cc494a498717 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/**
* It serializes passed object into string
* The numeric values must be finite.
* Any other input values will be coerced to empty strings.
*
* @param obj The object to serialize into a URL query string
* @param sep The substring used to delimit key and value pairs in the query string
* @param eq The substring used to delimit keys and values in the query string
* @param name
*/
export type encodeFuncType = (
obj?: Record<any, unknown>,
sep?: string,
eq?: string,
name?: any
) => string;
export default encodeFuncType;
|