Skip to content

Commit fa0ef03

Browse files
committed
fix jsdoc for format parameter
1 parent 52c6449 commit fa0ef03

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/internal/modules/cjs/loader.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,9 +1682,7 @@ function wrapSafe(filename, content, cjsModuleInstance, format) {
16821682
* `exports`) to the file. Returns exception, if any.
16831683
* @param {string} content The source code of the module
16841684
* @param {string} filename The file path of the module
1685-
* @param {
1686-
* 'module'|'commonjs'|'commonjs-typescript'|'module-typescript'
1687-
* } format Intended format of the module.
1685+
* @param {'module'|'commonjs'|'commonjs-typescript'|'module-typescript'|'typescript'} format Intended format of the module.
16881686
*/
16891687
Module.prototype._compile = function(content, filename, format) {
16901688
if (format === 'commonjs-typescript' || format === 'module-typescript' || format === 'typescript') {

0 commit comments

Comments
 (0)