UNPKG

next

Version:

The React Framework

8 lines (7 loc) 202 B
/** * 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;