scottohara/loot

View on GitHub
src/service-worker.ts

Summary

Maintainability
A
0 mins
Test Coverage
// No-op service worker used for development
declare const self: ServiceWorkerGlobalScope;

self.addEventListener("install", async (): Promise<void> => self.skipWaiting());
self.addEventListener("activate", (event: ExtendableEvent): void =>
    event.waitUntil(self.clients.claim()),
);

export default null;