An event emitted when the service worker has detected a new version of the app on the server and is about to start downloading it.
API
interface VersionDetectedEvent {
type: "VERSION_DETECTED";
version: { hash: string; appData?: object | undefined; };
}
type
"VERSION_DETECTED"version
{ hash: string; appData?: object | undefined; }