diff --git a/lib/os.js b/lib/os.js index 862d6bb4a2bec9..e8a6e252198aa5 100644 --- a/lib/os.js +++ b/lib/os.js @@ -119,15 +119,15 @@ function loadavg() { * logical CPU core. * * @returns {Array<{ - * model: string - * speed: number + * model: string, + * speed: number, * times: { - * user: number - * nice: number - * sys: number - * idle: number - * irq: number - * } + * user: number, + * nice: number, + * sys: number, + * idle: number, + * irq: number, + * }, * }>} */ function cpus() { @@ -246,13 +246,13 @@ function getCIDR(address, netmask, family) { /** * @returns {Record<string, Array<{ - * address: string - * netmask: string - * family: 4 | 6 - * mac: string - * internal: boolean - * scopeid: number - * cidr: string | null + * address: string, + * netmask: string, + * family: 4 | 6, + * mac: string, + * internal: boolean, + * scopeid: number, + * cidr: string | null, * }>>} */ function networkInterfaces() { @@ -329,11 +329,11 @@ function getPriority(pid) { * `'buffer'`, the `username`, `shell`, and `homedir` values will * be `Buffer` instances. * @returns {{ - * uid: number - * gid: number - * username: string - * homedir: string - * shell: string | null + * uid: number, + * gid: number, + * username: string, + * homedir: string, + * shell: string | null, * }} */ function userInfo(options) {