konfig-axios-fetch-adapter
Version:
Fetch adapter for axios written in TypeScript
9 lines (8 loc) • 308 B
TypeScript
/**
* Build a URL by appending params to the end
*
* @param {string} url The base of the url (e.g., http://www.google.com)
* @param {object} [params] The params to be appended
* @returns {string} The formatted url
*/
export default function buildURL(url: any, params: any, paramsSerializer: any): any;