responsesAreSame.d.ts 464 B

1234567891011121314
  1. import './_version.js';
  2. /**
  3. * Given two `Response's`, compares several header values to see if they are
  4. * the same or not.
  5. *
  6. * @param {Response} firstResponse
  7. * @param {Response} secondResponse
  8. * @param {Array<string>} headersToCheck
  9. * @return {boolean}
  10. *
  11. * @memberof module:workbox-broadcast-update
  12. */
  13. declare const responsesAreSame: (firstResponse: Response, secondResponse: Response, headersToCheck: string[]) => boolean;
  14. export { responsesAreSame };