Skip to content

Commit afc30a5

Browse files
vsemozhetbytevanlucas
authored andcommitted
doc: decapitalize primitive types
PR-URL: #18110 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 0668a75 commit afc30a5

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

doc/api/dgram.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ added: v0.11.14
161161
-->
162162

163163
* `options` {Object} Required. Supports the following properties:
164-
* `port` {Integer}
164+
* `port` {integer}
165165
* `address` {string}
166166
* `exclusive` {boolean}
167167
* `callback` {Function}
@@ -390,7 +390,7 @@ packets may be sent to a local interface's broadcast address.
390390
added: v8.6.0
391391
-->
392392

393-
* `multicastInterface` {String}
393+
* `multicastInterface` {string}
394394

395395
*Note: All references to scope in this section are referring to
396396
[IPv6 Zone Indices][], which are defined by [RFC 4007][]. In string form, an IP

doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ deprecated: v1.0.0
13341334
13351335
* `path` {string|Buffer|URL}
13361336
* `callback` {Function}
1337-
* `exists` {Boolean}
1337+
* `exists` {boolean}
13381338

13391339
Test whether or not the given path exists by checking with the file system.
13401340
Then call the `callback` argument with either true or false. Example:

doc/api/net.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ server.listen({
281281
added: v0.1.90
282282
-->
283283

284-
* `path` {String} Path the server should listen to. See
284+
* `path` {string} Path the server should listen to. See
285285
[Identifying paths for IPC connections][].
286286
* `backlog` {number} Common parameter of [`server.listen()`][] functions.
287287
* `callback` {Function} Common parameter of [`server.listen()`][] functions.

doc/guides/using-internal-errors.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ likely be required.
119119

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

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

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

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

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

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

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

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

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

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

182-
* `key` {String} The static error identifier
182+
* `key` {string} The static error identifier
183183
* `args` {Array} Zero or more optional arguments passed as an Array
184-
* Returns: {String}
184+
* Returns: {string}
185185

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

0 commit comments

Comments
 (0)