hexo/node_modules/workbox-broadcast-update/responsesAreSame.d.ts

15 lines
471 B
TypeScript
Raw Normal View History

2023-10-03 11:14:36 +08: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 workbox-broadcast-update
*/
declare const responsesAreSame: (firstResponse: Response, secondResponse: Response, headersToCheck: string[]) => boolean;
export { responsesAreSame };