Skip to content

Commit d8f3f64

Browse files
ShenHongFeitargos
authored andcommitted
lib: fix getTypeScriptParsingMode jsdoc
PR-URL: #58681 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 12286c9 commit d8f3f64

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
@@ -30,7 +30,7 @@ const {
3030

3131
/**
3232
* The TypeScript parsing mode, either 'strip-only' or 'transform'.
33-
* @type {string}
33+
* @type {function(): TypeScriptMode}
3434
*/
3535
const getTypeScriptParsingMode = getLazy(() =>
3636
(getOptionValue('--experimental-transform-types') ?

0 commit comments

Comments
 (0)