mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-01-17 18:35:55 +00:00
17 lines
561 B
TypeScript
17 lines
561 B
TypeScript
/**
|
|
* Returns a querystring-formatted string (e.g. &arg=val&arg2=val2) from a params
|
|
* object (e.g. {arg: 'val', arg2: 'val2'})
|
|
* Note: You must prepend it with ? when adding it to a URL.
|
|
*
|
|
* @param {!Object} querystringParams
|
|
* @return {string}
|
|
*/
|
|
export declare const querystring: (querystringParams: any) => string;
|
|
/**
|
|
* Decodes a querystring (e.g. ?arg=val&arg2=val2) into a params object (e.g. {arg: 'val', arg2: 'val2'})
|
|
*
|
|
* @param {string} querystring
|
|
* @return {!Object}
|
|
*/
|
|
export declare const querystringDecode: (querystring: any) => {};
|