PrecacheInstallReportPlugin.d.ts 550 B

123456789101112131415
  1. import { WorkboxPlugin } from 'workbox-core/types.js';
  2. import '../_version.js';
  3. /**
  4. * A plugin, designed to be used with PrecacheController, to determine the
  5. * of assets that were updated (or not updated) during the install event.
  6. *
  7. * @private
  8. */
  9. declare class PrecacheInstallReportPlugin implements WorkboxPlugin {
  10. updatedURLs: string[];
  11. notUpdatedURLs: string[];
  12. handlerWillStart: WorkboxPlugin['handlerWillStart'];
  13. cachedResponseWillBeUsed: WorkboxPlugin['cachedResponseWillBeUsed'];
  14. }
  15. export { PrecacheInstallReportPlugin };