Skip to content

Commit e10d53f

Browse files
committed
Fix scala-js#427: SharedWorker onconnect has wrong type
1 parent 803a788 commit e10d53f

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

Lines changed: 1 addition & 1 deletion
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)