Skip to content

Commit b7194a5

Browse files
author
exoego
committed
Use js.native for argument that is not taken into account at runtime.
1 parent 4457811 commit b7194a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/scalajs/dom/raw/lib.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -5927,7 +5927,7 @@ class TimeRanges extends js.Object {
59275927

59285928
@js.native
59295929
@JSGlobal
5930-
class BeforeUnloadEvent extends Event("") {
5930+
class BeforeUnloadEvent extends Event(js.native) {
59315931
var returnValue: String = js.native
59325932
}
59335933

0 commit comments

Comments
 (0)