fix(sw): only import matrix sdk types
This commit is contained in:
1 parent
6abd8ff6bf
commit
75816cf991
2 files changed
+2
-2
No files matched your search
@@ -1,7 +1,7 @@
|
||||
/// <reference lib="WebWorker" />
|
||||
import { precacheAndRoute, cleanupOutdatedCaches } from 'workbox-precaching';
|
||||
import { usePushNotifications } from './sw/pushNotification';
|
||||
import { EventType } from 'matrix-js-sdk';
|
||||
import { EventType } from "matrix-js-sdk/lib/@types/event";
|
||||
|
||||
export type {};
|
||||
declare const self: ServiceWorkerGlobalScope;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { EventType } from "matrix-js-sdk";
|
||||
import { EventType } from "matrix-js-sdk/lib/@types/event";
|
||||
|
||||
const DEFAULT_NOTIFICATION_ICON = '/public/res/apple/apple-touch-icon-180x180.png';
|
||||
const DEFAULT_NOTIFICATION_BADGE = '/public/res/apple-touch-icon-72x72.png';
|
||||
|
||||
Reference in new issue
Block a user