Skip to content

Commit 6b1a40e

Browse files
vsemozhetbytMylesBorins
authored andcommitted
doc: capitalize non-primitive types
Backport-PR-URL: #18465 PR-URL: #18111 Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent b5752ee commit 6b1a40e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/api/assert.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ added: v0.1.21
308308
* `expected` {any}
309309
* `message` {any} **Default:** `'Failed'`
310310
* `operator` {string} **Default:** '!='
311-
* `stackStartFunction` {function} **Default:** `assert.fail`
311+
* `stackStartFunction` {Function} **Default:** `assert.fail`
312312

313313
Throws an `AssertionError`. If `message` is falsy, the error message is set as
314314
the values of `actual` and `expected` separated by the provided `operator`. If

doc/api/cluster.md

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

doc/api/http2.md

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

0 commit comments

Comments
 (0)