hexo/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin...

16 lines
565 B
TypeScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
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 };