407 BTypeScriptView Raw
2 * Join all arguments together and normalize the resulting url.
3 * This works similar to `path.join` but you shouldn't use `path.join` for urls since it works
4 * differently depending on the operating system and also doesn't work for some cases.
5 */
6declare function urljoin(...parts: string[]): string;
7declare function urljoin(parts: string[]): string;
9export = urljoin;
10export as namespace urljoin;