fix: resolve typescript and build errors across admin and guest apps
This commit is contained in:
@@ -9,7 +9,7 @@ import { registerRoute } from 'workbox-routing';
|
||||
import { CacheFirst, NetworkFirst, StaleWhileRevalidate } from 'workbox-strategies';
|
||||
|
||||
declare const self: ServiceWorkerGlobalScope & {
|
||||
__WB_MANIFEST: Array<import('workbox-precaching').ManifestEntry>;
|
||||
__WB_MANIFEST: Array<any>;
|
||||
};
|
||||
|
||||
clientsClaim();
|
||||
@@ -97,7 +97,7 @@ self.addEventListener('message', (event) => {
|
||||
}
|
||||
});
|
||||
|
||||
self.addEventListener('sync', (event) => {
|
||||
self.addEventListener('sync', (event: any) => {
|
||||
if (event.tag === 'upload-queue') {
|
||||
event.waitUntil(
|
||||
(async () => {
|
||||
|
||||
Reference in New Issue
Block a user