summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-01-12 02:07:18 +0200
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-01-12 02:51:14 +0200
commitc3fde98d4d2d920ce3df10a7668aa36bcfb49206 (patch)
tree8d2658c06df6613883ea3086e379dafa6992c102 /doc
parentd955645e4bd6528bfb1f2dace63e57f06ef798c5 (diff)
downloadandroid-node-v8-c3fde98d4d2d920ce3df10a7668aa36bcfb49206.tar.gz
android-node-v8-c3fde98d4d2d920ce3df10a7668aa36bcfb49206.tar.bz2
android-node-v8-c3fde98d4d2d920ce3df10a7668aa36bcfb49206.zip
doc: capitalize non-primitive types
PR-URL: https://github.com/nodejs/node/pull/18111 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/assert.md4
-rw-r--r--doc/api/cluster.md2
-rw-r--r--doc/api/http2.md2
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md
index 75477516bf..1f49f9ca36 100644
--- a/doc/api/assert.md
+++ b/doc/api/assert.md
@@ -375,7 +375,7 @@ added: v0.1.21
* `expected` {any}
* `message` {any} **Default:** `'Failed'`
* `operator` {string} **Default:** '!='
-* `stackStartFunction` {function} **Default:** `assert.fail`
+* `stackStartFunction` {Function} **Default:** `assert.fail`
Throws an `AssertionError`. If `message` is falsy, the error message is set as
the values of `actual` and `expected` separated by the provided `operator`. If
@@ -719,7 +719,7 @@ changes:
description: The `error` parameter can now be an arrow function.
-->
* `block` {Function}
-* `error` {RegExp|Function|object}
+* `error` {RegExp|Function|Object}
* `message` {any}
Expects the function `block` to throw an error.
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index 016fdf6c18..6ef451cb9a 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -718,7 +718,7 @@ changes:
`'ipc'` entry. When this option is provided, it overrides `silent`.
* `uid` {number} Sets the user identity of the process. (See setuid(2).)
* `gid` {number} Sets the group identity of the process. (See setgid(2).)
- * `inspectPort` {number|function} Sets inspector port of worker.
+ * `inspectPort` {number|Function} Sets inspector port of worker.
This can be a number, or a function that takes no arguments and returns a
number. By default each worker gets its own port, incremented from the
master's `process.debugPort`.
diff --git a/doc/api/http2.md b/doc/api/http2.md
index e842ec1c18..fa75f7be5f 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -1232,7 +1232,7 @@ added: v8.4.0
* `options` {Object}
* `endStream` {boolean} Set to `true` to indicate that the response will not
include payload data.
- * `getTrailers` {function} Callback function invoked to collect trailer
+ * `getTrailers` {Function} Callback function invoked to collect trailer
headers.
* Returns: {undefined}