source: frontend/node_modules/workbox-recipes/offlineFallback.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: 830 bytes
Line 
1import './_version.js';
2export interface OfflineFallbackOptions {
3 pageFallback?: string;
4 imageFallback?: string;
5 fontFallback?: string;
6}
7/**
8 * An implementation of the [comprehensive fallbacks recipe]{@link https://developers.google.com/web/tools/workbox/guides/advanced-recipes#comprehensive_fallbacks}. Be sure to include the fallbacks in your precache injection
9 *
10 * @memberof workbox-recipes
11 *
12 * @param {Object} [options]
13 * @param {string} [options.pageFallback] Precache name to match for pag fallbacks. Defaults to offline.html
14 * @param {string} [options.imageFallback] Precache name to match for image fallbacks.
15 * @param {string} [options.fontFallback] Precache name to match for font fallbacks.
16 */
17declare function offlineFallback(options?: OfflineFallbackOptions): void;
18export { offlineFallback };
Note: See TracBrowser for help on using the repository browser.