Skip to content

Commit 11346f9

Browse files
committed
Make dom.URL.searchParams readonly (val)
1 parent 6187be7 commit 11346f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom/src/main/scala/org/scalajs/dom/URL.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ class URL(url: String, base: String = js.native) extends js.Object {
6262
/** Is a DOMString containing a '#' followed by the fragment identifier of the URL. */
6363
var hash: String = js.native
6464

65-
var searchParams: URLSearchParams = js.native
65+
val searchParams: URLSearchParams = js.native
6666
}

0 commit comments

Comments
 (0)