SwRuntimeEnvironment
Type. Environment objects used by the service worker runtime.
Table of contents
Category
Type
Type import
tsimport type { SwRuntimeEnvironment } from "valyrian.js/sw";Public signature
tstype SwRuntimeEnvironment = { isNodeJs?: boolean; navigator?: Navigator | null; window?: Window | null; };Type usage
SwRuntimeEnvironment provides the optional runtime objects used by CreateSwRuntimeOptions.