diff --git a/lib/os.js b/lib/os.js index c1c4bfa694a06b..991daea13db02a 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>} */ 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) {