interface
An event emitted when a new version of the app is available.
interface VersionReadyEvent { type: 'VERSION_READY' currentVersion: {...} latestVersion: {...} }
Property | Description |
---|---|
type: 'VERSION_READY' | |
currentVersion: {
hash: string;
appData?: object;
} | |
latestVersion: {
hash: string;
appData?: object;
} |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/service-worker/VersionReadyEvent