UNPKG

539 BTypeScriptView Raw
1import '../_version.js';
2/**
3 * Removes any URL search parameters that should be ignored.
4 *
5 * @param {URL} urlObject The original URL.
6 * @param {Array<RegExp>} ignoreURLParametersMatching RegExps to test against
7 * each search parameter name. Matches mean that the search parameter should be
8 * ignored.
9 * @return {URL} The URL with any ignored search parameters removed.
10 *
11 * @private
12 * @memberof workbox-precaching
13 */
14export declare function removeIgnoredSearchParams(urlObject: URL, ignoreURLParametersMatching?: RegExp[]): URL;