From 1df52e60ebe2db25c8832155dd0c4e9095b90082 Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Wed, 24 Apr 2024 12:07:22 -0400 Subject: [PATCH] typings: fix invalid JSDoc declarations PR-URL: https://github.com/nodejs/node/pull/52659 Reviewed-By: Geoffrey Booth Reviewed-By: Luigi Pinca Reviewed-By: Marco Ippolito Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Jacob Smith Reviewed-By: Moshe Atlow --- lib/internal/modules/esm/loader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');