tra-analysis/website/functions/node_modules/@firebase/util/dist/src/query.d.ts
2019-01-06 13:14:45 -06:00

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) => {};