Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: decapitalize primitive types #18110

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ added: v0.11.14
-->

* `options` {Object} Required. Supports the following properties:
* `port` {Integer}
* `port` {integer}
* `address` {string}
* `exclusive` {boolean}
* `callback` {Function}
Expand Down Expand Up @@ -390,7 +390,7 @@ packets may be sent to a local interface's broadcast address.
added: v8.6.0
-->

* `multicastInterface` {String}
* `multicastInterface` {string}

*Note: All references to scope in this section are referring to
[IPv6 Zone Indices][], which are defined by [RFC 4007][]. In string form, an IP
Expand Down
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ deprecated: v1.0.0

* `path` {string|Buffer|URL}
* `callback` {Function}
* `exists` {Boolean}
* `exists` {boolean}

Test whether or not the given path exists by checking with the file system.
Then call the `callback` argument with either true or false. Example:
Expand Down
2 changes: 1 addition & 1 deletion doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ server.listen({
added: v0.1.90
-->

* `path` {String} Path the server should listen to. See
* `path` {string} Path the server should listen to. See
[Identifying paths for IPC connections][].
* `backlog` {number} Common parameter of [`server.listen()`][] functions.
* `callback` {Function} Common parameter of [`server.listen()`][] functions.
Expand Down
16 changes: 8 additions & 8 deletions doc/guides/using-internal-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ likely be required.

### Class: errors.Error(key[, args...])

* `key` {String} The static error identifier
* `args...` {Any} Zero or more optional arguments
* `key` {string} The static error identifier
* `args...` {any} Zero or more optional arguments

```js
const errors = require('internal/errors');
Expand All @@ -139,8 +139,8 @@ The `myError` object will have a `code` property equal to the `key` and a

### Class: errors.TypeError(key[, args...])

* `key` {String} The static error identifier
* `args...` {Any} Zero or more optional arguments
* `key` {string} The static error identifier
* `args...` {any} Zero or more optional arguments

```js
const errors = require('internal/errors');
Expand All @@ -159,8 +159,8 @@ The `myError` object will have a `code` property equal to the `key` and a

### Class: errors.RangeError(key[, args...])

* `key` {String} The static error identifier
* `args...` {Any} Zero or more optional arguments
* `key` {string} The static error identifier
* `args...` {any} Zero or more optional arguments

```js
const errors = require('internal/errors');
Expand All @@ -179,8 +179,8 @@ The `myError` object will have a `code` property equal to the `key` and a

### Method: errors.message(key, args)

* `key` {String} The static error identifier
* `key` {string} The static error identifier
* `args` {Array} Zero or more optional arguments passed as an Array
* Returns: {String}
* Returns: {string}

Returns the formatted error message string for the given `key`.