diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-09 15:25:04 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-09 17:04:48 +0300 |
commit | dff214153f1b48615e3e4f134b252fbbe363c36f (patch) | |
tree | a8cb25513bfdfeb90f62e5d43885eb4d51b2ce85 /doc/api/child_process.md | |
parent | 321c178faa51d1f9e7c8ac60790aeca187a50e1f (diff) | |
download | android-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.tar.gz android-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.tar.bz2 android-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.zip |
doc: specify definite Array types
Replace `{Array}` with `{type[]}`.
PR-URL: https://github.com/nodejs/node/pull/19895
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r-- | doc/api/child_process.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 7921a88c3d..1ebd3cee19 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -322,12 +322,12 @@ changes: --> * `modulePath` {string} The module to run in the child. -* `args` {Array} List of string arguments. +* `args` {string[]} List of string arguments. * `options` {Object} * `cwd` {string} Current working directory of the child process. * `env` {Object} Environment key-value pairs. * `execPath` {string} Executable used to create the child process. - * `execArgv` {Array} List of string arguments passed to the executable. + * `execArgv` {string[]} List of string arguments passed to the executable. **Default:** `process.execArgv`. * `silent` {boolean} If `true`, stdin, stdout, and stderr of the child will be piped to the parent, otherwise they will be inherited from the parent, see @@ -387,7 +387,7 @@ changes: --> * `command` {string} The command to run. -* `args` {Array} List of string arguments. +* `args` {string[]} List of string arguments. * `options` {Object} * `cwd` {string} Current working directory of the child process. * `env` {Object} Environment key-value pairs. @@ -803,7 +803,7 @@ changes: --> * `command` {string} The command to run. -* `args` {Array} List of string arguments. +* `args` {string[]} List of string arguments. * `options` {Object} * `cwd` {string} Current working directory of the child process. * `input` {string|Buffer|Uint8Array} The value which will be passed as stdin |