Skip to content

Commit

Permalink
Fix #427: Fix the type of SharedWorker.onconnect (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
japgolly authored Nov 10, 2020
1 parent 803a788 commit 5a502ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ trait SharedWorkerGlobalScope extends WorkerGlobalScope {
*
* MDN
*/
var onconnect: Function1[ExtendableMessageEvent, _] = js.native
var onconnect: js.Function1[ExtendableMessageEvent, _] = js.native
}

@js.native
Expand Down

0 comments on commit 5a502ad

Please sign in to comment.