diff --git a/lib/internal/modules/esm/loader.js b/lib/internal/modules/esm/loader.js index 3ebfcbdf73832c..c854af316a32d3 100644 --- a/lib/internal/modules/esm/loader.js +++ b/lib/internal/modules/esm/loader.js @@ -58,9 +58,9 @@ const { getOptionValue } = require('internal/options'); /** * @typedef {object} ExportedHooks - * @property {Function} globalPreload - * @property {Function} resolve - * @property {Function} load + * @property {Function} globalPreload Global preload hook. + * @property {Function} resolve Resolve hook. + * @property {Function} load Load hook. */ /** @@ -69,14 +69,14 @@ const { getOptionValue } = require('internal/options'); /** * @typedef {object} KeyedExports - * @property {ModuleExports} exports - * @property {URL['href']} url + * @property {ModuleExports} exports The contents of the module. + * @property {URL['href']} url The URL of the module. */ /** * @typedef {object} KeyedHook - * @property {Function} fn - * @property {URL['href']} url + * @property {Function} fn The hook function. + * @property {URL['href']} url The URL of the module. */ /**