diff --git a/javascript/externs/web/html5.js b/javascript/externs/web/html5.js
index 95ff86e9421..dacb3abeaf6 100644
--- a/javascript/externs/web/html5.js
+++ b/javascript/externs/web/html5.js
@@ -2068,8 +2068,10 @@ MessagePort.prototype.onmessage;
* @constructor
* @extends {Event}
* @template T
+ * @param {string} type
+ * @param {Object=} init
*/
-function MessageEvent() {}
+function MessageEvent(type, init) {}
/**
* The data payload of the message.