mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
19 lines
542 B
TypeScript
19 lines
542 B
TypeScript
/**
|
|
* 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;
|