Skip to content

Commit 1ec9e58

Browse files
anonrigmarco-ippolito
authored andcommittedMay 3, 2024
typings: fix invalid JSDoc declarations
PR-URL: #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>
1 parent 722fe64 commit 1ec9e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lib/internal/modules/esm/loader.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ let defaultResolve, defaultLoad, defaultLoadSync, importMetaInitializer;
2929

3030
/**
3131
* Lazy loads the module_map module and returns a new instance of ResolveCache.
32-
* @returns {import('./module_map.js').ResolveCache')}
32+
* @returns {import('./module_map.js').ResolveCache}
3333
*/
3434
function newResolveCache() {
3535
const { ResolveCache } = require('internal/modules/esm/module_map');
@@ -38,7 +38,7 @@ function newResolveCache() {
3838

3939
/**
4040
* Generate a load cache (to store the final result of a load-chain for a particular module).
41-
* @returns {import('./module_map.js').LoadCache')}
41+
* @returns {import('./module_map.js').LoadCache}
4242
*/
4343
function newLoadCache() {
4444
const { LoadCache } = require('internal/modules/esm/module_map');

0 commit comments

Comments
 (0)