Skip to content

Commit e84e9db

Browse files
vsemozhetbytMylesBorins
authored andcommitted
doc: capitalize non-primitive types
Backport-PR-URL: #18465 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 bf52382 commit e84e9db

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
@@ -276,7 +276,7 @@ added: v0.1.21
276276
* `expected` {any}
277277
* `message` {any}
278278
* `operator` {string} **Default:** '!='
279-
* `stackStartFunction` {function} **Default:** `assert.fail`
279+
* `stackStartFunction` {Function} **Default:** `assert.fail`
280280

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

doc/api/cluster.md

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

doc/api/http2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ added: v8.4.0
10451045
* `options` {Object}
10461046
* `endStream` {boolean} Set to `true` to indicate that the response will not
10471047
include payload data.
1048-
* `getTrailers` {function} Callback function invoked to collect trailer
1048+
* `getTrailers` {Function} Callback function invoked to collect trailer
10491049
headers.
10501050
* Returns: {undefined}
10511051

0 commit comments

Comments
 (0)