From 1ca16692d5a597f70b1f4310cad73cf087061bb8 Mon Sep 17 00:00:00 2001 From: Naftoli Gugenheim <98384+nafg@users.noreply.github.com> Date: Wed, 3 Dec 2025 04:10:20 -0500 Subject: [PATCH] PerformanceEntry: Change duration type from Int to Double --- dom/src/main/scala/org/scalajs/dom/PerformanceEntry.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/src/main/scala/org/scalajs/dom/PerformanceEntry.scala b/dom/src/main/scala/org/scalajs/dom/PerformanceEntry.scala index 3511259ee..b993171fa 100644 --- a/dom/src/main/scala/org/scalajs/dom/PerformanceEntry.scala +++ b/dom/src/main/scala/org/scalajs/dom/PerformanceEntry.scala @@ -27,7 +27,7 @@ class PerformanceEntry extends js.Object { /** The duration of the performance entry. The meaning of this property depends on the value of this entry's * [[entryType]]. */ - def duration: Int = js.native + def duration: Double = js.native /** The type of performance metric that this entry represents. */ def entryType: String = js.native