We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Os.arch
unit => string
string
1 parent 092171c commit 3db4de1Copy full SHA for 3db4de1
src/Os.res
@@ -11,7 +11,7 @@ type cpu = private {
11
times: cpuTimes,
12
}
13
@module("node:os") @val external eol: string = "EOL"
14
-@module("node:os") @val external arch: string = "arch"
+@module("node:os") @val external arch: unit => string = "arch"
15
@module("node:os") @val external cpus: unit => array<cpu> = "cpus"
16
@module("node:os") @val external endianness: unit => string = "endianness"
17
@module("node:os") @val external freemem: unit => int = "freemem"
0 commit comments