Skip to content

Commit

Permalink
typings: fix invalid JSDoc declarations
Browse files Browse the repository at this point in the history
PR-URL: nodejs#52659
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
  • Loading branch information
anonrig authored and bmeck committed Jun 22, 2024
1 parent de4c34d commit 1173bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/modules/esm/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ let defaultResolve, defaultLoad, defaultLoadSync, importMetaInitializer;

/**
* Lazy loads the module_map module and returns a new instance of ResolveCache.
* @returns {import('./module_map.js').ResolveCache')}
* @returns {import('./module_map.js').ResolveCache}
*/
function newResolveCache() {
const { ResolveCache } = require('internal/modules/esm/module_map');
Expand All @@ -58,7 +58,7 @@ function newResolveCache() {

/**
* Generate a load cache (to store the final result of a load-chain for a particular module).
* @returns {import('./module_map.js').LoadCache')}
* @returns {import('./module_map.js').LoadCache}
*/
function newLoadCache() {
const { LoadCache } = require('internal/modules/esm/module_map');
Expand Down

0 comments on commit 1173bea

Please sign in to comment.