diff options
author | Roman Reiss <me@silverwind.io> | 2017-03-05 18:03:39 +0100 |
---|---|---|
committer | Roman Reiss <me@silverwind.io> | 2017-03-08 17:19:24 +0100 |
commit | 5f32024055adc2f908c582d933259f9fcf5db423 (patch) | |
tree | bce5be96439ed649da400b25d01c800a8f0aa72a /doc/api/dns.md | |
parent | 9772fb928263562a755f1aeef6a65620e7e51bf2 (diff) | |
download | android-node-v8-5f32024055adc2f908c582d933259f9fcf5db423.tar.gz android-node-v8-5f32024055adc2f908c582d933259f9fcf5db423.tar.bz2 android-node-v8-5f32024055adc2f908c582d933259f9fcf5db423.zip |
doc/tools: fix more type inconsistencies
- fix a number of uppercase types
- lowercase 'integer'
- consistent formatting in crypto
PR-URL: https://github.com/nodejs/node/pull/11697
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r-- | doc/api/dns.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md index 66e665062c..7f075be311 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -80,13 +80,13 @@ Alternatively, `options` can be an object containing these properties: * `family` {number} - The record family. If present, must be the integer `4` or `6`. If not provided, both IP v4 and v6 addresses are accepted. -* `hints`: {Number} - If present, it should be one or more of the supported +* `hints`: {number} - If present, it should be one or more of the supported `getaddrinfo` flags. If `hints` is not provided, then no flags are passed to `getaddrinfo`. Multiple flags can be passed through `hints` by bitwise `OR`ing their values. See [supported `getaddrinfo` flags][] for more information on supported flags. -* `all`: {Boolean} - When `true`, the callback returns all resolved addresses +* `all`: {boolean} - When `true`, the callback returns all resolved addresses in an array, otherwise returns a single address. Defaults to `false`. All properties are optional. |