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-recipes/warmStrategyCache.d.ts

16 lines
479 B
TypeScript
Raw Normal View History

2025-06-13 06:04:40 +00:00
import { Strategy } from 'workbox-strategies/Strategy.js';
import './_version.js';
export interface WarmStrategyCacheOptions {
urls: Array<string>;
strategy: Strategy;
}
/**
* @memberof workbox-recipes
* @param {Object} options
* @param {string[]} options.urls Paths to warm the strategy's cache with
* @param {Strategy} options.strategy Strategy to use
*/
declare function warmStrategyCache(options: WarmStrategyCacheOptions): void;
export { warmStrategyCache };