diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-09 15:25:04 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-09 17:04:48 +0300 |
commit | dff214153f1b48615e3e4f134b252fbbe363c36f (patch) | |
tree | a8cb25513bfdfeb90f62e5d43885eb4d51b2ce85 /doc/api/os.md | |
parent | 321c178faa51d1f9e7c8ac60790aeca187a50e1f (diff) | |
download | android-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.md | 4 |
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. |