UNPKG

msw

Version:

Seamless REST/GraphQL API mocking library for browser and Node.js.

9 lines • 402 B
//#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