Skip to content

Commit fa210f9

Browse files
Trottdanielleadams
authored andcommitted
esm: add JSDoc property descriptions for fetch
PR-URL: #45370 Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Jacob Smith <jacob@frende.me>
1 parent 3937118 commit fa210f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/internal/modules/esm/fetch_module.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ const { once } = require('events');
2121
const { compose } = require('stream');
2222
/**
2323
* @typedef CacheEntry
24-
* @property {Promise<string> | string} resolvedHREF
25-
* @property {Record<string, string>} headers
26-
* @property {Promise<Buffer> | Buffer} body
24+
* @property {Promise<string> | string} resolvedHREF Parsed HREF of the request.
25+
* @property {Record<string, string>} headers HTTP headers of the response.
26+
* @property {Promise<Buffer> | Buffer} body Response body.
2727
*/
2828

2929
/**

0 commit comments

Comments
 (0)