Fixed the last TypeScript warning
This commit is contained in:
parent
1829c2cab9
commit
9f8f19c771
2
scripts/ServiceWorker/index.d.ts
vendored
2
scripts/ServiceWorker/index.d.ts
vendored
@ -618,7 +618,7 @@ interface ServiceWorkerGlobalScope extends EventTarget {
|
||||
* make sure it's compatible with `window.onmessage`
|
||||
*/
|
||||
// onmessage: (messageevent: ExtendableMessageEvent) => void;
|
||||
onmessage: (messageevent: MessageEvent) => void;
|
||||
//onmessage: (messageevent: MessageEvent) => void;
|
||||
|
||||
/**
|
||||
* An event handler fired whenever a notificationclick event occurs — when
|
||||
|
Loading…
Reference in New Issue
Block a user