Skip to content

Commit 7565eb2

Browse files
author
Max Schaefer
committed
JavaScript: Update externs for MessageEvent.
1 parent 99c32f0 commit 7565eb2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

javascript/externs/web/html5.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2068,8 +2068,10 @@ MessagePort.prototype.onmessage;
20682068
* @constructor
20692069
* @extends {Event}
20702070
* @template T
2071+
* @param {string} type
2072+
* @param {Object=} init
20712073
*/
2072-
function MessageEvent() {}
2074+
function MessageEvent(type, init) {}
20732075

20742076
/**
20752077
* The data payload of the message.

0 commit comments

Comments
 (0)