diff options
author | Rich Trott <rtrott@gmail.com> | 2022-03-27 06:48:11 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2022-03-27 18:35:14 +0300 |
commit | 3c97583a0d446091a23c1f1d1d57760dba41bc26 (patch) | |
tree | f1974eb55b76ae895283a2c9ae50c740777a0e62 /lib | |
parent | a7697c5e05c8a8892ac78d73bc6f1e65ab1a1243 (diff) |
lib: update JSDoc for linting
Fix issue that will be flagged when we update ESLint and dependencies.
PR-URL: https://github.com/nodejs/node/pull/42489
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/child_process.js | 14 | ||||
-rw-r--r-- | lib/fs.js | 4 | ||||
-rw-r--r-- | lib/https.js | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/child_process.js b/lib/child_process.js index 29fece55256..40eea973383 100644 --- a/lib/child_process.js +++ b/lib/child_process.js @@ -98,7 +98,7 @@ const MAX_BUFFER = 1024 * 1024; * @param {{ * cwd?: string; * detached?: boolean; - * env?: Object; + * env?: object; * execPath?: string; * execArgv?: string[]; * gid?: number; @@ -199,7 +199,7 @@ function normalizeExecArgs(command, options, callback) { * @param {string} command * @param {{ * cmd?: string; - * env?: Object; + * env?: object; * encoding?: string; * shell?: string; * signal?: AbortSignal; @@ -253,7 +253,7 @@ ObjectDefineProperty(exec, promisify.custom, { * @param {string[]} [args] * @param {{ * cwd?: string; - * env?: Object; + * env?: object; * encoding?: string; * timeout?: number; * maxBuffer?: number; @@ -662,7 +662,7 @@ function abortChildProcess(child, killSignal) { * @param {string[]} [args] * @param {{ * cwd?: string; - * env?: Object; + * env?: object; * argv0?: string; * stdio?: Array | string; * detached?: boolean; @@ -735,7 +735,7 @@ function spawn(file, args, options) { * input?: string | Buffer | TypedArray | DataView; * argv0?: string; * stdio?: string | Array; - * env?: Object; + * env?: object; * uid?: number; * gid?: number; * timeout?: number; @@ -827,7 +827,7 @@ function checkExecSyncError(ret, args, cmd) { * cwd?: string; * input?: string | Buffer | TypedArray | DataView; * stdio?: string | Array; - * env?: Object; + * env?: object; * uid?: number; * gid?: number; * timeout?: number; @@ -864,7 +864,7 @@ function execFileSync(command, args, options) { * cwd?: string; * input?: string | Buffer | TypedArray | DataView; * stdio?: string | Array; - * env?: Object; + * env?: object; * shell?: string; * uid?: number; * gid?: number; diff --git a/lib/fs.js b/lib/fs.js index 611eaaa90c6..2895c11d8ec 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -2876,7 +2876,7 @@ function lazyLoadStreams() { * start: number; * end?: number; * highWaterMark?: number; - * fs?: Object | null; + * fs?: object | null; * }} [options] * @returns {ReadStream} */ @@ -2896,7 +2896,7 @@ function createReadStream(path, options) { * autoClose?: boolean; * emitClose?: boolean; * start: number; - * fs?: Object | null; + * fs?: object | null; * }} [options] * @returns {WriteStream} */ diff --git a/lib/https.js b/lib/https.js index 7a9a4243aaa..3834a881775 100644 --- a/lib/https.js +++ b/lib/https.js @@ -362,7 +362,7 @@ function request(...args) { * createConnection?: Function; * defaultPort?: number; * family?: number; - * headers?: Object; + * headers?: object; * hints?: number; * host?: string; * hostname?: string; |