removeIgnoredSearchParams.d.ts 546 B

1234567891011121314
  1. import '../_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 module:workbox-precaching
  13. */
  14. export declare function removeIgnoredSearchParams(urlObject: URL, ignoreURLParametersMatching?: RegExp[]): URL;