There was an error while loading. Please reload this page.
1 parent 5b6d315 commit a9bcfd7Copy full SHA for a9bcfd7
src/main/scala/org/scalajs/dom/raw/lib.scala
@@ -443,7 +443,7 @@ trait WindowTimers extends WindowTimersExtension {
443
*
444
* MDN
445
*/
446
- def setTimeout(handler: js.Function0[Any], timeout: Int): Int = js.native
+ def setTimeout(handler: js.Function0[Any], timeout: Double): Int = js.native
447
448
/**
449
* Cancels repeated action which was set up using setInterval.
@@ -458,7 +458,7 @@ trait WindowTimers extends WindowTimersExtension {
458
459
460
461
- def setInterval(handler: js.Function0[Any], timeout: Int): Int = js.native
+ def setInterval(handler: js.Function0[Any], timeout: Double): Int = js.native
462
}
463
464
0 commit comments