Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-11-29 09:48:00 +0300
committerGitHub <noreply@github.com>2021-11-29 09:48:00 +0300
commit1e8b296c58b77d3b7b46d45c7ef3e44981c5c3e7 (patch)
tree5064c7fb421ea76a782e8ba32c1d52dde47781a8 /lib/http.js
parent4b65dec76d2bff28c3fd79c15b291a65357b426c (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.js4
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]