Skip to content

Commit 2f87a9c

Browse files
Update doc/api/cli.md
1 parent def4f34 commit 2f87a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@ The default is `"commonjs"`.
13761376

13771377
If `--experimental-strip-types` is enabled and `--input-type`is not provided, Node.js will first try to run the code as JavaScript,
13781378
then it will try to run the code as TypeScript.
1379-
When using TypeScript, the `--input-type=type` flag should be used,
1379+
When using TypeScript, the `--input-type=type` flag should always be used,
13801380
to reduce the overhead of multiple syntax detections.
13811381

13821382
The REPL does not support this option. Usage of `--input-type=module` with

0 commit comments

Comments
 (0)