Skip to content

Commit

Permalink
doc: decapitalize primitive types
Browse files Browse the repository at this point in the history
PR-URL: #18110
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
vsemozhetbyt authored and evanlucas committed Jan 30, 2018
1 parent 0668a75 commit afc30a5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
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`.

0 comments on commit afc30a5

Please sign in to comment.