GoScrobble/web/node_modules/workbox-window/utils/urlsMatch.d.ts

12 lines
345 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
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;