source: frontend/node_modules/workbox-precaching/precacheAndRoute.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 690 bytes
Line 
1import { PrecacheRouteOptions, PrecacheEntry } from './_types.js';
2import './_version.js';
3/**
4 * This method will add entries to the precache list and add a route to
5 * respond to fetch events.
6 *
7 * This is a convenience method that will call
8 * {@link workbox-precaching.precache} and
9 * {@link workbox-precaching.addRoute} in a single call.
10 *
11 * @param {Array<Object|string>} entries Array of entries to precache.
12 * @param {Object} [options] See the
13 * {@link workbox-precaching.PrecacheRoute} options.
14 *
15 * @memberof workbox-precaching
16 */
17declare function precacheAndRoute(entries: Array<PrecacheEntry | string>, options?: PrecacheRouteOptions): void;
18export { precacheAndRoute };
Note: See TracBrowser for help on using the repository browser.