doc: decapitalize primitive types

PR-URL: https://github.com/nodejs/node/pull/18110
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Vse Mozhet Byt 2018-01-12 01:28:02 +02:00
parent 8938c4c22d
commit d955645e4b
4 changed files with 12 additions and 12 deletions

View File

@ -161,7 +161,7 @@ added: v0.11.14
--> -->
* `options` {Object} Required. Supports the following properties: * `options` {Object} Required. Supports the following properties:
* `port` {Integer} * `port` {integer}
* `address` {string} * `address` {string}
* `exclusive` {boolean} * `exclusive` {boolean}
* `callback` {Function} * `callback` {Function}
@ -390,7 +390,7 @@ packets may be sent to a local interface's broadcast address.
added: v8.6.0 added: v8.6.0
--> -->
* `multicastInterface` {String} * `multicastInterface` {string}
*Note: All references to scope in this section are referring to *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 [IPv6 Zone Indices][], which are defined by [RFC 4007][]. In string form, an IP

View File

@ -1334,7 +1334,7 @@ deprecated: v1.0.0
* `path` {string|Buffer|URL} * `path` {string|Buffer|URL}
* `callback` {Function} * `callback` {Function}
* `exists` {Boolean} * `exists` {boolean}
Test whether or not the given path exists by checking with the file system. 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: Then call the `callback` argument with either true or false. Example:

View File

@ -281,7 +281,7 @@ server.listen({
added: v0.1.90 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][]. [Identifying paths for IPC connections][].
* `backlog` {number} Common parameter of [`server.listen()`][] functions. * `backlog` {number} Common parameter of [`server.listen()`][] functions.
* `callback` {Function} Common parameter of [`server.listen()`][] functions. * `callback` {Function} Common parameter of [`server.listen()`][] functions.

View File

@ -119,8 +119,8 @@ likely be required.
### Class: errors.Error(key[, args...]) ### Class: errors.Error(key[, args...])
* `key` {String} The static error identifier * `key` {string} The static error identifier
* `args...` {Any} Zero or more optional arguments * `args...` {any} Zero or more optional arguments
```js ```js
const errors = require('internal/errors'); const errors = require('internal/errors');
@ -139,8 +139,8 @@ The `myError` object will have a `code` property equal to the `key` and a
### Class: errors.TypeError(key[, args...]) ### Class: errors.TypeError(key[, args...])
* `key` {String} The static error identifier * `key` {string} The static error identifier
* `args...` {Any} Zero or more optional arguments * `args...` {any} Zero or more optional arguments
```js ```js
const errors = require('internal/errors'); const errors = require('internal/errors');
@ -159,8 +159,8 @@ The `myError` object will have a `code` property equal to the `key` and a
### Class: errors.RangeError(key[, args...]) ### Class: errors.RangeError(key[, args...])
* `key` {String} The static error identifier * `key` {string} The static error identifier
* `args...` {Any} Zero or more optional arguments * `args...` {any} Zero or more optional arguments
```js ```js
const errors = require('internal/errors'); const errors = require('internal/errors');
@ -179,8 +179,8 @@ The `myError` object will have a `code` property equal to the `key` and a
### Method: errors.message(key, args) ### 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 * `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`. Returns the formatted error message string for the given `key`.