diff --git a/lib/internal/modules/cjs/loader.js b/lib/internal/modules/cjs/loader.js index c453f2b403e..0bc421e1723 100644 --- a/lib/internal/modules/cjs/loader.js +++ b/lib/internal/modules/cjs/loader.js @@ -1682,9 +1682,8 @@ function wrapSafe(filename, content, cjsModuleInstance, format) { * `exports`) to the file. Returns exception, if any. * @param {string} content The source code of the module * @param {string} filename The file path of the module - * @param { - * 'module'|'commonjs'|'commonjs-typescript'|'module-typescript' - * } format Intended format of the module. + * @param {'module'|'commonjs'|'commonjs-typescript'|'module-typescript'|'typescript'} format + * Intended format of the module. */ Module.prototype._compile = function(content, filename, format) { if (format === 'commonjs-typescript' || format === 'module-typescript' || format === 'typescript') {