mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
typings: update JSDoc for cwd
in child_process
PR-URL: https://github.com/nodejs/node/pull/49029 Refs: https://github.com/nodejs/node/pull/38862 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
d150316a8e
commit
aed2b21ac0
@ -103,7 +103,7 @@ let addAbortListener;
|
||||
* @param {string|URL} modulePath
|
||||
* @param {string[]} [args]
|
||||
* @param {{
|
||||
* cwd?: string;
|
||||
* cwd?: string | URL;
|
||||
* detached?: boolean;
|
||||
* env?: Record<string, string>;
|
||||
* execPath?: string;
|
||||
@ -305,7 +305,7 @@ function normalizeExecFileArgs(file, args, options, callback) {
|
||||
* @param {string} file
|
||||
* @param {string[]} [args]
|
||||
* @param {{
|
||||
* cwd?: string;
|
||||
* cwd?: string | URL;
|
||||
* env?: Record<string, string>;
|
||||
* encoding?: string;
|
||||
* timeout?: number;
|
||||
@ -733,7 +733,7 @@ function abortChildProcess(child, killSignal, reason) {
|
||||
* @param {string} file
|
||||
* @param {string[]} [args]
|
||||
* @param {{
|
||||
* cwd?: string;
|
||||
* cwd?: string | URL;
|
||||
* env?: Record<string, string>;
|
||||
* argv0?: string;
|
||||
* stdio?: Array | string;
|
||||
@ -803,7 +803,7 @@ function spawn(file, args, options) {
|
||||
* @param {string} file
|
||||
* @param {string[]} [args]
|
||||
* @param {{
|
||||
* cwd?: string;
|
||||
* cwd?: string | URL;
|
||||
* input?: string | Buffer | TypedArray | DataView;
|
||||
* argv0?: string;
|
||||
* stdio?: string | Array;
|
||||
@ -897,7 +897,7 @@ function checkExecSyncError(ret, args, cmd) {
|
||||
* @param {string} file
|
||||
* @param {string[]} [args]
|
||||
* @param {{
|
||||
* cwd?: string;
|
||||
* cwd?: string | URL;
|
||||
* input?: string | Buffer | TypedArray | DataView;
|
||||
* stdio?: string | Array;
|
||||
* env?: Record<string, string>;
|
||||
@ -935,7 +935,7 @@ function execFileSync(file, args, options) {
|
||||
* Spawns a shell executing the given `command` synchronously.
|
||||
* @param {string} command
|
||||
* @param {{
|
||||
* cwd?: string;
|
||||
* cwd?: string | URL;
|
||||
* input?: string | Buffer | TypedArray | DataView;
|
||||
* stdio?: string | Array;
|
||||
* env?: Record<string, string>;
|
||||
|
Loading…
Reference in New Issue
Block a user