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>
This commit is contained in:
Vse Mozhet Byt 2018-01-12 02:07:18 +02:00
parent d955645e4b
commit c3fde98d4d
3 changed files with 4 additions and 4 deletions

View File

@ -375,7 +375,7 @@ added: v0.1.21
* `expected` {any} * `expected` {any}
* `message` {any} **Default:** `'Failed'` * `message` {any} **Default:** `'Failed'`
* `operator` {string} **Default:** '!=' * `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 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 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. description: The `error` parameter can now be an arrow function.
--> -->
* `block` {Function} * `block` {Function}
* `error` {RegExp|Function|object} * `error` {RegExp|Function|Object}
* `message` {any} * `message` {any}
Expects the function `block` to throw an error. Expects the function `block` to throw an error.

View File

@ -718,7 +718,7 @@ changes:
`'ipc'` entry. When this option is provided, it overrides `silent`. `'ipc'` entry. When this option is provided, it overrides `silent`.
* `uid` {number} Sets the user identity of the process. (See setuid(2).) * `uid` {number} Sets the user identity of the process. (See setuid(2).)
* `gid` {number} Sets the group identity of the process. (See setgid(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 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 number. By default each worker gets its own port, incremented from the
master's `process.debugPort`. master's `process.debugPort`.

View File

@ -1232,7 +1232,7 @@ added: v8.4.0
* `options` {Object} * `options` {Object}
* `endStream` {boolean} Set to `true` to indicate that the response will not * `endStream` {boolean} Set to `true` to indicate that the response will not
include payload data. include payload data.
* `getTrailers` {function} Callback function invoked to collect trailer * `getTrailers` {Function} Callback function invoked to collect trailer
headers. headers.
* Returns: {undefined} * Returns: {undefined}