Skip to content

Commit dfdf6a7

Browse files
Apply suggestions from code review
Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
1 parent 4008c65 commit dfdf6a7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/internal/vm.js

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

4343
/**
4444
* Computes the host-defined option ID based on the provided importModuleDynamically and hint.
45-
* @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback | symbol | undefined} importModuleDynamically -
46-
* The importModuleDynamically function or undefined.
45+
* @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback
46+
* | symbol | undefined} importModuleDynamically - The importModuleDynamically function or undefined.
4747
* @param {string} hint - The hint for the option ID.
4848
* @returns {symbol} - The host-defined option id
4949
* ID.
@@ -165,7 +165,8 @@ function internalCompileFunction(
165165
* @param {boolean} produceCachedData - Indicates whether to produce cached data.
166166
* @param {object} parsingContext - The parsing context of the script.
167167
* @param {symbol} hostDefinedOptionId - The host-defined option ID.
168-
* @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback} importModuleDynamically - Indicates whether to import modules dynamically.
168+
* @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback} importModuleDynamically -
169+
* Indicates whether to import modules dynamically.
169170
* @returns {ContextifyScript} The created contextify script.
170171
*/
171172
function makeContextifyScript(code,

0 commit comments

Comments
 (0)