From 075b04f31d8bf102c676063b97f02412dd85fdce Mon Sep 17 00:00:00 2001 From: Himself65 Date: Sun, 8 May 2022 00:08:08 -0500 Subject: [PATCH] os: fix `cpus` invalid return type jsdoc syntax --- lib/os.js | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/os.js b/lib/os.js index 862d6bb4a2bec9..cafa963acfac50 100644 --- a/lib/os.js +++ b/lib/os.js @@ -119,13 +119,13 @@ function loadavg() { * logical CPU core. * * @returns {Array<{ - * model: string - * speed: number + * model: string, + * speed: number, * times: { - * user: number - * nice: number - * sys: number - * idle: number + * user: number, + * nice: number, + * sys: number, + * idle: number, * irq: number * } * }>} @@ -246,12 +246,12 @@ function getCIDR(address, netmask, family) { /** * @returns {Record>} */ @@ -329,10 +329,10 @@ function getPriority(pid) { * `'buffer'`, the `username`, `shell`, and `homedir` values will * be `Buffer` instances. * @returns {{ - * uid: number - * gid: number - * username: string - * homedir: string + * uid: number, + * gid: number, + * username: string, + * homedir: string, * shell: string | null * }} */