From 4e5ad9df501d3078a7bbf12b273f2e354644fdf6 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 7 Nov 2022 19:39:29 -0800 Subject: [PATCH] esm: add JSDoc property descriptions for fetch PR-URL: https://github.com/nodejs/node/pull/45370 Reviewed-By: Akhil Marsonya Reviewed-By: Yagiz Nizipli Reviewed-By: Jacob Smith --- lib/internal/modules/esm/fetch_module.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/internal/modules/esm/fetch_module.js b/lib/internal/modules/esm/fetch_module.js index 7638f94b3fe525..073ec13562097c 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} resolvedHREF - * @property {Record} headers - * @property {Promise | Buffer} body + * @property {Promise | string} resolvedHREF Parsed HREF of the request. + * @property {Record} headers HTTP headers of the response. + * @property {Promise | Buffer} body Response body. */ /**