@@ -54,6 +54,7 @@ const { tracingChannel } = require('diagnostics_channel');
54
54
const onImport = tracingChannel ( 'module.import' ) ;
55
55
56
56
/**
57
+ * @typedef {import('./module_job.js').ModuleJobBase } ModuleJobBase
57
58
* @typedef {import('url').URL } URL
58
59
*/
59
60
@@ -270,7 +271,7 @@ class ModuleLoader {
270
271
* @param {string } [parentURL] The URL of the module where the module request is initiated.
271
272
* It's undefined if it's from the root module.
272
273
* @param {ImportAttributes } importAttributes Attributes from the import statement or expression.
273
- * @returns {Promise<ModuleJobBase }
274
+ * @returns {Promise<ModuleJobBase> }
274
275
*/
275
276
async getModuleJobForImport ( specifier , parentURL , importAttributes ) {
276
277
const resolveResult = await this . resolve ( specifier , parentURL , importAttributes ) ;
@@ -284,7 +285,7 @@ class ModuleLoader {
284
285
* @param {string } specifier See {@link getModuleJobForImport}
285
286
* @param {string } [parentURL] See {@link getModuleJobForImport}
286
287
* @param {ImportAttributes } importAttributes See {@link getModuleJobForImport}
287
- * @returns {Promise<ModuleJobBase }
288
+ * @returns {Promise<ModuleJobBase> }
288
289
*/
289
290
getModuleJobForRequireInImportedCJS ( specifier , parentURL , importAttributes ) {
290
291
const resolveResult = this . resolveSync ( specifier , parentURL , importAttributes ) ;
0 commit comments