Skip to content

Commit

Permalink
esm: add JSDoc property descriptions for fetch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trott authored and ruyadorno committed Nov 21, 2022
1 parent b72b2ba commit 4e5ad9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/internal/modules/esm/fetch_module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/

/**
Expand Down

0 comments on commit 4e5ad9d

Please sign in to comment.