Skip to content

Commit

Permalink
lib: update JSDoc for linting
Browse files Browse the repository at this point in the history
Fix issue that will be flagged when we update ESLint and dependencies.

PR-URL: #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>
  • Loading branch information
Trott authored and juanarbol committed Apr 6, 2022
1 parent 464e57f commit b74de21
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions lib/child_process.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const MAX_BUFFER = 1024 * 1024;
* @param {{
* cwd?: string;
* detached?: boolean;
* env?: Object;
* env?: object;
* execPath?: string;
* execArgv?: string[];
* gid?: number;
Expand Down Expand Up @@ -202,7 +202,7 @@ function normalizeExecArgs(command, options, callback) {
* @param {string} command
* @param {{
* cmd?: string;
* env?: Object;
* env?: object;
* encoding?: string;
* shell?: string;
* signal?: AbortSignal;
Expand Down Expand Up @@ -256,7 +256,7 @@ ObjectDefineProperty(exec, promisify.custom, {
* @param {string[]} [args]
* @param {{
* cwd?: string;
* env?: Object;
* env?: object;
* encoding?: string;
* timeout?: number;
* maxBuffer?: number;
Expand Down Expand Up @@ -673,7 +673,7 @@ function abortChildProcess(child, killSignal) {
* @param {string[]} [args]
* @param {{
* cwd?: string;
* env?: Object;
* env?: object;
* argv0?: string;
* stdio?: Array | string;
* detached?: boolean;
Expand Down Expand Up @@ -746,7 +746,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;
Expand Down Expand Up @@ -838,7 +838,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;
Expand Down Expand Up @@ -875,7 +875,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;
Expand Down
4 changes: 2 additions & 2 deletions lib/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2877,7 +2877,7 @@ function lazyLoadStreams() {
* start: number;
* end?: number;
* highWaterMark?: number;
* fs?: Object | null;
* fs?: object | null;
* }} [options]
* @returns {ReadStream}
*/
Expand All @@ -2897,7 +2897,7 @@ function createReadStream(path, options) {
* autoClose?: boolean;
* emitClose?: boolean;
* start: number;
* fs?: Object | null;
* fs?: object | null;
* }} [options]
* @returns {WriteStream}
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/https.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function request(...args) {
* createConnection?: Function;
* defaultPort?: number;
* family?: number;
* headers?: Object;
* headers?: object;
* hints?: number;
* host?: string;
* hostname?: string;
Expand Down

0 comments on commit b74de21

Please sign in to comment.