File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -105,13 +105,13 @@ function registerImportModuleDynamically(referrer, importModuleDynamically) {
105105 * @param {string } filename - The filename to use for the compiled function.
106106 * @param {number } lineOffset - The line offset to use for the compiled function.
107107 * @param {number } columnOffset - The column offset to use for the compiled function.
108- * @param {Buffer } cachedData - The cached data to use for the compiled function.
108+ * @param {Buffer } [ cachedData=undefined] - The cached data to use for the compiled function.
109109 * @param {boolean } produceCachedData - Whether to produce cached data for the compiled function.
110- * @param {ReturnType<import('vm').createContext } parsingContext - The parsing context to use for the compiled function.
111- * @param {object[] } contextExtensions - An array of context extensions to use for the compiled function.
112- * @param {string[] } params - An optional array of parameter names for the compiled function.
113- * @param {object } hostDefinedOptionId - The host defined option id to use for the compiled function .
114- * @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback } importModuleDynamically -
110+ * @param {ReturnType<import('vm').createContext } [ parsingContext=undefined] - The parsing context to use for the compiled function.
111+ * @param {object[] } [ contextExtensions=[]] - An array of context extensions to use for the compiled function.
112+ * @param {string[] } [ params] - An optional array of parameter names for the compiled function.
113+ * @param {symbol } hostDefinedOptionId - A symbol referenced by the field `host_defined_option_symbol` .
114+ * @param {import('internal/modules/esm/utils').ImportModuleDynamicallyCallback } [ importModuleDynamically] -
115115 * A function to use for dynamically importing modules.
116116 * @returns {object } An object containing the compiled function and any associated data.
117117 * @throws {TypeError } If any of the arguments are of the wrong type.
You can’t perform that action at this time.
0 commit comments