diff options
author | Rich Trott <rtrott@gmail.com> | 2021-11-29 09:48:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 09:48:00 +0300 |
commit | 1e8b296c58b77d3b7b46d45c7ef3e44981c5c3e7 (patch) | |
tree | 5064c7fb421ea76a782e8ba32c1d52dde47781a8 /lib/http.js | |
parent | 4b65dec76d2bff28c3fd79c15b291a65357b426c (diff) |
lib,test,tools: use consistent JSDoc types
This could be in preparation of implementing the jsdoc/check-types
ESLint rule.
PR-URL: https://github.com/nodejs/node/pull/40989
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'lib/http.js')
-rw-r--r-- | lib/http.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.js b/lib/http.js index 38f1297be79..5120ec65e3f 100644 --- a/lib/http.js +++ b/lib/http.js @@ -60,13 +60,13 @@ function createServer(opts, requestListener) { } /** - * @typedef {Object} HTTPRequestOptions + * @typedef {object} HTTPRequestOptions * @property {httpAgent.Agent | boolean} [agent] * @property {string} [auth] * @property {Function} [createConnection] * @property {number} [defaultPort] * @property {number} [family] - * @property {Object} [headers] + * @property {object} [headers] * @property {number} [hints] * @property {string} [host] * @property {string} [hostname] |