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>2022-11-08 06:39:29 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2022-11-12 07:09:55 +0300
commit67a30223b90aa057da4da08106f5b200def28cc7 (patch)
treeebfb937295975f935452570478219bf4514cd463
parent42c8f099ff2dc6af69cd9503f7ab03ea2da72b20 (diff)
esm: add JSDoc property descriptions for fetch
PR-URL: https://github.com/nodejs/node/pull/45370 Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Jacob Smith <jacob@frende.me>
-rw-r--r--lib/internal/modules/esm/fetch_module.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/internal/modules/esm/fetch_module.js b/lib/internal/modules/esm/fetch_module.js
index 7638f94b3fe..073ec135620 100644
--- a/lib/internal/modules/esm/fetch_module.js
+++ b/lib/internal/modules/esm/fetch_module.js
@@ -21,9 +21,9 @@ const { once } = require('events');
const { compose } = require('stream');
/**
* @typedef CacheEntry
- * @property {Promise<string> | string} resolvedHREF
- * @property {Record<string, string>} headers
- * @property {Promise<Buffer> | Buffer} body
+ * @property {Promise<string> | string} resolvedHREF Parsed HREF of the request.
+ * @property {Record<string, string>} headers HTTP headers of the response.
+ * @property {Promise<Buffer> | Buffer} body Response body.
*/
/**