Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c7f1c14

Browse files
lindholcarmanbilge
andauthored
Use FrozenArray
Co-authored-by: Arman Bilge <[email protected]>
1 parent c497fef commit c7f1c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class IntersectionObserver(
3030
* bounding box area of an observed target. Notifications for a target are generated when any of the thresholds are
3131
* crossed for that target. If no value was passed to the constructor, 0 is used.
3232
*/
33-
def thresholds: js.Array[Double] = js.native
33+
def thresholds: FrozenArray[Double] = js.native
3434

3535
/** Stops the IntersectionObserver object from observing any target. */
3636
def disconnect(): Unit = js.native

0 commit comments

Comments
 (0)