This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
todo/client/node_modules/workbox-window/utils/urlsMatch.d.ts
2025-06-13 14:04:40 +08:00

12 lines
345 B
TypeScript

import '../_version.js';
/**
* 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 {string} url1
* @param {string} url2
* @return {boolean}
*/
export declare function urlsMatch(url1: string, url2: string): boolean;