mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
typings: fix invalid JSDoc declarations
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user