You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
435 B
20 lines
435 B
/**
|
|
* Generate random string.
|
|
*
|
|
* @return { string }
|
|
*/
|
|
declare function randomStr(): string;
|
|
/**
|
|
* Format params into querying string.
|
|
*
|
|
* @return {string[]}
|
|
*/
|
|
declare function formatParams(queryKey: string, value: any): string[];
|
|
/**
|
|
* Flat querys.
|
|
*
|
|
* @param {string[] | (string[])[]} array
|
|
* @returns
|
|
*/
|
|
declare function flatten(array: string[] | (string[])[]): string[];
|
|
export { formatParams, flatten, randomStr };
|