msw
Version:
9 lines • 402 B
TypeScript
//#region src/utils/get-clean-url-string.d.ts
/**
* Removes search parameters and the fragment from a given URL string.
* Unlike `getCleanUrl()` from Interceptors, accepts relative URLs and
* path patterns (e.g. "/user/:id?") since it never parses the input as a URL.
*/
export declare function getCleanUrlString(url: string): string;
//#endregion
//# sourceMappingURL=get-clean-url-string.d.ts.map