angular / 14.0.0 / api / service-worker / versionreadyevent.html /

VersionReadyEvent

interface

An event emitted when a new version of the app is available.

interface VersionReadyEvent {
  type: 'VERSION_READY'
  currentVersion: {...}
  latestVersion: {...}
}

See also

Properties

Property Description
type: 'VERSION_READY'
currentVersion: { hash: string; appData?: object; }
latestVersion: { hash: string; appData?: object; }

© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/service-worker/VersionReadyEvent