Skip to content

Commit 5a502ad

Browse files
authored
Fix #427: Fix the type of SharedWorker.onconnect (#428)
1 parent 803a788 commit 5a502ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/scalajs/dom/experimental/sharedworkers/SharedWorkerGlobalScope.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ trait SharedWorkerGlobalScope extends WorkerGlobalScope {
4444
*
4545
* MDN
4646
*/
47-
var onconnect: Function1[ExtendableMessageEvent, _] = js.native
47+
var onconnect: js.Function1[ExtendableMessageEvent, _] = js.native
4848
}
4949

5050
@js.native

0 commit comments

Comments
 (0)