mobility-toolbox-js
Version:
Toolbox for JavaScript applications in the domains of mobility and logistics.
10 lines (9 loc) • 325 B
TypeScript
/**
* Concatenate an url with a path to avoid double slash.
* @param {string} url a url.
* @param {string} path a path.
* @param {Object<String,String>} params a list of key/value pair to add to the url.
* @private
*/
declare const getUrlWithPath: (url: string, path?: string) => string;
export default getUrlWithPath;