From dff214153f1b48615e3e4f134b252fbbe363c36f Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Mon, 9 Apr 2018 15:25:04 +0300 Subject: doc: specify definite Array types Replace `{Array}` with `{type[]}`. PR-URL: https://github.com/nodejs/node/pull/19895 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- doc/api/os.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/api/os.md') 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. -- cgit v1.2.3