urbi-exhibitions
Version:
8 lines (7 loc) • 318 B
TypeScript
export type InitServiceWorkerOptions = {
swPath?: string;
onRegistered?: (registration: ServiceWorkerRegistration) => void;
onError?: (error: unknown) => void;
};
export declare function initServiceWorker(options?: InitServiceWorkerOptions): void;
export declare function clearTilesCache(): Promise<void>;