UNPKG

@serwist/window

Version:

Simplifies communications with Serwist packages running in the service worker

11 lines 332 B
/** * Returns true if two URLs have the same `.href` property. The URLs can be * relative, and if they are the current location href is used to resolve URLs. * * @private * @param url1 * @param url2 * @returns */ export declare function urlsMatch(url1: string, url2: string): boolean; //# sourceMappingURL=urlsMatch.d.ts.map