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 Apr 24, 2024
1 parent ac9aa37 commit 1df52e6
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 1df52e6

Please sign in to comment.