- Complete React app with 7 developer tools - JSON Tool with visual structured editor - Serialize Tool with visual structured editor - URL, Base64, CSV/JSON, Beautifier, Diff tools - Responsive navigation with dropdown menu - Dark/light mode toggle - Mobile-responsive design with sticky header - All tools working with copy/paste functionality
24 lines
649 B
TypeScript
24 lines
649 B
TypeScript
import { disable } from './disable.js';
|
|
import { enable } from './enable.js';
|
|
import { isSupported } from './isSupported.js';
|
|
import './_version.js';
|
|
interface NavigationPreloadState {
|
|
enabled?: boolean;
|
|
headerValue?: string;
|
|
}
|
|
interface NavigationPreloadManager {
|
|
disable(): Promise<void>;
|
|
enable(): Promise<void>;
|
|
getState(): Promise<NavigationPreloadState>;
|
|
setHeaderValue(value: string): Promise<void>;
|
|
}
|
|
declare global {
|
|
interface ServiceWorkerRegistration {
|
|
readonly navigationPreload: NavigationPreloadManager;
|
|
}
|
|
}
|
|
/**
|
|
* @module workbox-navigation-preload
|
|
*/
|
|
export { disable, enable, isSupported };
|