Skip to content

Commit 9028a14

Browse files
committed
Fix scala-js#137: TimeRanges start/end type incorrect
1 parent 38e9e15 commit 9028a14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5076,14 +5076,14 @@ class TimeRanges extends js.Object {
50765076
*
50775077
* MDN
50785078
*/
5079-
def start(index: Int): Int = js.native
5079+
def start(index: Int): Double = js.native
50805080

50815081
/**
50825082
* Returns the time offset at which a specified time range ends.
50835083
*
50845084
* MDN
50855085
*/
5086-
def end(index: Int): Int = js.native
5086+
def end(index: Int): Double = js.native
50875087
}
50885088

50895089

0 commit comments

Comments
 (0)