source: frontend/node_modules/workbox-background-sync/BackgroundSyncPlugin.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: 917 bytes
RevLine 
[9af201e]1import { WorkboxPlugin } from 'workbox-core/types.js';
2import { QueueOptions } from './Queue.js';
3import './_version.js';
4/**
5 * A class implementing the `fetchDidFail` lifecycle callback. This makes it
6 * easier to add failed requests to a background sync Queue.
7 *
8 * @memberof workbox-background-sync
9 */
10declare class BackgroundSyncPlugin implements WorkboxPlugin {
11 private readonly _queue;
12 /**
13 * @param {string} name See the {@link workbox-background-sync.Queue}
14 * documentation for parameter details.
15 * @param {Object} [options] See the
16 * {@link workbox-background-sync.Queue} documentation for
17 * parameter details.
18 */
19 constructor(name: string, options?: QueueOptions);
20 /**
21 * @param {Object} options
22 * @param {Request} options.request
23 * @private
24 */
25 fetchDidFail: WorkboxPlugin['fetchDidFail'];
26}
27export { BackgroundSyncPlugin };
Note: See TracBrowser for help on using the repository browser.