Fixed the last TypeScript warning

This commit is contained in:
Eduard Urbach 2018-10-10 17:48:08 +09:00
parent 1829c2cab9
commit 9f8f19c771

View File

@ -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