Skip to content

Commit

Permalink
typings: fix invalid JSDoc declarations
Browse files Browse the repository at this point in the history
PR-URL: #52659
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Jacob Smith <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
  • Loading branch information
anonrig authored and marco-ippolito committed May 3, 2024
1 parent 722fe64 commit 1ec9e58
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 @@ -29,7 +29,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 @@ -38,7 +38,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 1ec9e58

Please sign in to comment.