$app/service-worker
This module can only be imported in service workers.
import { const self: ServiceWorkerGlobalScopeThe execution context of a service worker. This export exists to make it easier to
use service workers with the correct types, provided the importing module is governed
by a tsconfig.json that extends $app/tsconfig/service-worker.
self } from '$app/service-worker';self
The execution context of a service worker. This export exists to make it easier to
use service workers with the correct types, provided the importing module is governed
by a tsconfig.json that extends $app/tsconfig/service-worker.
const self: ServiceWorkerGlobalScope;Edit this page on GitHub llms.txt
previous next