GoScrobble/web/node_modules/workbox-broadcast-update/responsesAreSame.d.ts

15 lines
464 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
import './_version.js';
/**
* Given two `Response's`, compares several header values to see if they are
* the same or not.
*
* @param {Response} firstResponse
* @param {Response} secondResponse
* @param {Array<string>} headersToCheck
* @return {boolean}
*
* @memberof module:workbox-broadcast-update
*/
declare const responsesAreSame: (firstResponse: Response, secondResponse: Response, headersToCheck: string[]) => boolean;
export { responsesAreSame };