summaryrefslogtreecommitdiff
path: root/doc/api/process.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-08 16:53:47 +0300
committerJames M Snell <jasnell@gmail.com>2018-04-16 16:02:13 -0700
commitf600e95ff09c27bde8ae2a80aaf536afa55a1d9e (patch)
treeec61a1ba78a11f1314d1fabbd2bf655b51e98c53 /doc/api/process.md
parentfde5a6b65a00b9f0f717f1e59fc3f3af728dbe42 (diff)
downloadnode-new-f600e95ff09c27bde8ae2a80aaf536afa55a1d9e.tar.gz
doc, tools: make type parsing more strict
PR-URL: https://github.com/nodejs/node/pull/19881 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/process.md')
-rw-r--r--doc/api/process.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/process.md b/doc/api/process.md
index e80e187cc1..c454d67574 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -89,8 +89,8 @@ the child process.
The listener callback is invoked with the following arguments:
* `message` {Object} a parsed JSON object or primitive value.
-* `sendHandle` {Handle object} a [`net.Socket`][] or [`net.Server`][] object, or
- undefined.
+* `sendHandle` {net.Server|net.Socket} a [`net.Server`][] or [`net.Socket`][]
+ object, or undefined.
The message goes through serialization and parsing. The resulting message might
not be the same as what is originally sent.
@@ -1531,7 +1531,7 @@ added: v0.5.9
-->
* `message` {Object}
-* `sendHandle` {Handle object}
+* `sendHandle` {net.Server|net.Socket}
* `options` {Object}
* `callback` {Function}
* Returns: {boolean}