Change type of argument of SharedWorkerGlobalScope#onconnect from Event to MessageEvent.
See
@@ -1803,7 +1803,7 @@ SharedWorkerGlobalScope.prototype.name;
/**
* Sent when a connection to this worker is opened.
- * @type {?function(!Event)}
+ * @type {?function(!MessageEvent)}
*/
SharedWorkerGlobalScope.prototype.onconnect;
