Skip to content

Commit 79428d8

Browse files
ShenHongFeiaduh95
authored andcommitted
lib: fix getTypeScriptParsingMode jsdoc
PR-URL: #58681 Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
1 parent af80518 commit 79428d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/typescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const { Buffer } = require('buffer');
2525

2626
/**
2727
* The TypeScript parsing mode, either 'strip-only' or 'transform'.
28-
* @type {string}
28+
* @type {function(): TypeScriptMode}
2929
*/
3030
const getTypeScriptParsingMode = getLazy(() =>
3131
(getOptionValue('--experimental-transform-types') ?

0 commit comments

Comments
 (0)