You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
617 B

import { WorkboxPlugin } from 'workbox-core/types.js';
import { PrecacheController } from '../PrecacheController.js';
import '../_version.js';
/**
* A plugin, designed to be used with PrecacheController, to translate URLs into
* the corresponding cache key, based on the current revision info.
*
* @private
*/
declare class PrecacheCacheKeyPlugin implements WorkboxPlugin {
private readonly _precacheController;
constructor({ precacheController }: {
precacheController: PrecacheController;
});
cacheKeyWillBeUsed: WorkboxPlugin['cacheKeyWillBeUsed'];
}
export { PrecacheCacheKeyPlugin };