Skip to content

Commit c3fde98

Browse files
committed
doc: capitalize non-primitive types
PR-URL: #18111 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent d955645 commit c3fde98

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/api/assert.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ added: v0.1.21
375375
* `expected` {any}
376376
* `message` {any} **Default:** `'Failed'`
377377
* `operator` {string} **Default:** '!='
378-
* `stackStartFunction` {function} **Default:** `assert.fail`
378+
* `stackStartFunction` {Function} **Default:** `assert.fail`
379379

380380
Throws an `AssertionError`. If `message` is falsy, the error message is set as
381381
the values of `actual` and `expected` separated by the provided `operator`. If
@@ -719,7 +719,7 @@ changes:
719719
description: The `error` parameter can now be an arrow function.
720720
-->
721721
* `block` {Function}
722-
* `error` {RegExp|Function|object}
722+
* `error` {RegExp|Function|Object}
723723
* `message` {any}
724724

725725
Expects the function `block` to throw an error.

doc/api/cluster.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ changes:
718718
`'ipc'` entry. When this option is provided, it overrides `silent`.
719719
* `uid` {number} Sets the user identity of the process. (See setuid(2).)
720720
* `gid` {number} Sets the group identity of the process. (See setgid(2).)
721-
* `inspectPort` {number|function} Sets inspector port of worker.
721+
* `inspectPort` {number|Function} Sets inspector port of worker.
722722
This can be a number, or a function that takes no arguments and returns a
723723
number. By default each worker gets its own port, incremented from the
724724
master's `process.debugPort`.

doc/api/http2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ added: v8.4.0
12321232
* `options` {Object}
12331233
* `endStream` {boolean} Set to `true` to indicate that the response will not
12341234
include payload data.
1235-
* `getTrailers` {function} Callback function invoked to collect trailer
1235+
* `getTrailers` {Function} Callback function invoked to collect trailer
12361236
headers.
12371237
* Returns: {undefined}
12381238

0 commit comments

Comments
 (0)