Skip to content

Commit 0b97031

Browse files
anonrigaduh95
authored andcommitted
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 64428dc commit 0b97031

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/modules/esm/loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ let defaultResolve, defaultLoad, defaultLoadSync, importMetaInitializer;
4949

5050
/**
5151
* Lazy loads the module_map module and returns a new instance of ResolveCache.
52-
* @returns {import('./module_map.js').ResolveCache')}
52+
* @returns {import('./module_map.js').ResolveCache}
5353
*/
5454
function newResolveCache() {
5555
const { ResolveCache } = require('internal/modules/esm/module_map');
@@ -58,7 +58,7 @@ function newResolveCache() {
5858

5959
/**
6060
* Generate a load cache (to store the final result of a load-chain for a particular module).
61-
* @returns {import('./module_map.js').LoadCache')}
61+
* @returns {import('./module_map.js').LoadCache}
6262
*/
6363
function newLoadCache() {
6464
const { LoadCache } = require('internal/modules/esm/module_map');

0 commit comments

Comments
 (0)