Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 9c3e1b9

Browse files
author
exoego
committed
1 parent 7a695c8 commit 9c3e1b9

File tree

1 file changed

+1
-2
lines changed
  • app/current/src/main/scala/io/scalajs/nodejs/os

1 file changed

+1
-2
lines changed

app/current/src/main/scala/io/scalajs/nodejs/os/OS.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ trait OS extends js.Object {
133133
* Returns the system uptime in seconds.
134134
* @example os.uptime()
135135
*/
136-
// TODO: Return type should be Int after dropping Node.js 8 (Windows returns decimal until Node.js 10))
137-
def uptime(): Double = js.native
136+
def uptime(): Int = js.native
138137

139138
/**
140139
* The os.userInfo() method returns information about the currently effective user -- on POSIX platforms,

0 commit comments

Comments
 (0)