source: frontend/node_modules/workbox-navigation-preload/index.d.ts

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

Fix frontend appearance

  • Property mode set to 100644
File size: 649 bytes
RevLine 
[9af201e]1import { disable } from './disable.js';
2import { enable } from './enable.js';
3import { isSupported } from './isSupported.js';
4import './_version.js';
5interface NavigationPreloadState {
6 enabled?: boolean;
7 headerValue?: string;
8}
9interface NavigationPreloadManager {
10 disable(): Promise<void>;
11 enable(): Promise<void>;
12 getState(): Promise<NavigationPreloadState>;
13 setHeaderValue(value: string): Promise<void>;
14}
15declare global {
16 interface ServiceWorkerRegistration {
17 readonly navigationPreload: NavigationPreloadManager;
18 }
19}
20/**
21 * @module workbox-navigation-preload
22 */
23export { disable, enable, isSupported };
Note: See TracBrowser for help on using the repository browser.