summaryrefslogtreecommitdiff
path: root/doc/api/os.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-09 15:25:04 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-09 17:04:48 +0300
commitdff214153f1b48615e3e4f134b252fbbe363c36f (patch)
treea8cb25513bfdfeb90f62e5d43885eb4d51b2ce85 /doc/api/os.md
parent321c178faa51d1f9e7c8ac60790aeca187a50e1f (diff)
downloadandroid-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.tar.gz
android-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.tar.bz2
android-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.zip
doc: specify definite Array types
Replace `{Array}` with `{type[]}`. PR-URL: https://github.com/nodejs/node/pull/19895 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/os.md')
-rw-r--r--doc/api/os.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/os.md b/doc/api/os.md
index 9210abcb51..aa074ce001 100644
--- a/doc/api/os.md
+++ b/doc/api/os.md
@@ -54,7 +54,7 @@ defined are described in [OS Constants](#os_os_constants_1).
added: v0.3.3
-->
-* Returns: {Array}
+* Returns: {Object[]}
The `os.cpus()` method returns an array of objects containing information about
each logical CPU core.
@@ -217,7 +217,7 @@ string.
added: v0.3.3
-->
-* Returns: {Array}
+* Returns: {number[]}
The `os.loadavg()` method returns an array containing the 1, 5, and 15 minute
load averages.