Skip to content

Commit 2550c46

Browse files
committed
lint
1 parent fb07f0c commit 2550c46

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

lib/internal/vm.js

+8-4
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ function isContext(object) {
4242

4343
/**
4444
* Retrieves the host-defined option ID based on the provided importModuleDynamically and hint.
45-
* @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback | undefined} importModuleDynamically - The importModuleDynamically function or undefined.
45+
* @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback | undefined} importModuleDynamically -
46+
* The importModuleDynamically function or undefined.
4647
* @param {string} hint - The hint for the option ID.
47-
* @returns {symbol | import('internal/modules/esm/utils').ImportModuleDynamicallyCallback} - The host-defined option ID.
48+
* @returns {symbol | import('internal/modules/esm/utils').ImportModuleDynamicallyCallback} - The host-defined option
49+
* ID.
4850
*/
4951
function getHostDefinedOptionId(importModuleDynamically, hint) {
5052
if (importModuleDynamically === vm_dynamic_import_main_context_default ||
@@ -80,7 +82,8 @@ function getHostDefinedOptionId(importModuleDynamically, hint) {
8082
/**
8183
* Registers a dynamically imported module for customization.
8284
* @param {string} referrer - The path of the referrer module.
83-
* @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback} importModuleDynamically - The dynamically imported module function to be registered.
85+
* @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback} importModuleDynamically - The
86+
* dynamically imported module function to be registered.
8487
*/
8588
function registerImportModuleDynamically(referrer, importModuleDynamically) {
8689
// If it's undefined or certain known symbol, there's no customization so
@@ -107,7 +110,8 @@ function registerImportModuleDynamically(referrer, importModuleDynamically) {
107110
* @param {number} columnOffset - The column offset to use for the compiled function.
108111
* @param {Buffer} [cachedData=undefined] - The cached data to use for the compiled function.
109112
* @param {boolean} produceCachedData - Whether to produce cached data for the compiled function.
110-
* @param {ReturnType<import('vm').createContext} [parsingContext=undefined] - The parsing context to use for the compiled function.
113+
* @param {ReturnType<import('vm').createContext} [parsingContext=undefined] - The parsing context to use for the
114+
* compiled function.
111115
* @param {object[]} [contextExtensions=[]] - An array of context extensions to use for the compiled function.
112116
* @param {string[]} [params] - An optional array of parameter names for the compiled function.
113117
* @param {symbol} hostDefinedOptionId - A symbol referenced by the field `host_defined_option_symbol`.

0 commit comments

Comments
 (0)