diff --git a/lib/internal/modules/esm/loader.js b/lib/internal/modules/esm/loader.js index 414e51ada75848..01652bd48d80e2 100644 --- a/lib/internal/modules/esm/loader.js +++ b/lib/internal/modules/esm/loader.js @@ -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'); @@ -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');