This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
todo/client/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.d.ts
2025-06-13 14:04:40 +08:00

16 lines
550 B
TypeScript

import { WorkboxPlugin } from 'workbox-core/types.js';
import '../_version.js';
/**
* A plugin, designed to be used with PrecacheController, to determine the
* of assets that were updated (or not updated) during the install event.
*
* @private
*/
declare class PrecacheInstallReportPlugin implements WorkboxPlugin {
updatedURLs: string[];
notUpdatedURLs: string[];
handlerWillStart: WorkboxPlugin['handlerWillStart'];
cachedResponseWillBeUsed: WorkboxPlugin['cachedResponseWillBeUsed'];
}
export { PrecacheInstallReportPlugin };