8 lines
202 B
TypeScript
8 lines
202 B
TypeScript
/**
|
|
* Cleans a URL by stripping the protocol, host, and search params.
|
|
*
|
|
* @param urlString the url to clean
|
|
* @returns the cleaned url
|
|
*/
|
|
export declare function cleanURL(url: string | URL): URL;
|