Skip to content

Commit 1ca1669

Browse files
authored
PerformanceEntry: Change duration type from Int to Double
1 parent 1da1115 commit 1ca1669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class PerformanceEntry extends js.Object {
2727
/** The duration of the performance entry. The meaning of this property depends on the value of this entry's
2828
* [[entryType]].
2929
*/
30-
def duration: Int = js.native
30+
def duration: Double = js.native
3131

3232
/** The type of performance metric that this entry represents. */
3333
def entryType: String = js.native

0 commit comments

Comments
 (0)