Skip to content

Commit

Permalink
Update doc/api/cli.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-ippolito authored Dec 17, 2024
1 parent 4ce891c commit fa14c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@ The default is `"commonjs"`.
If `--experimental-strip-types` is enabled and `--input-type`is not provided, Node.js will first try to run the code as JavaScript,
then it will try to run the code as TypeScript.
When using TypeScript, the `--input-type=type` flag should be used,
to reduce the overhead of multiple syntax detection.
to reduce the overhead of multiple syntax detections.

The REPL does not support this option. Usage of `--input-type=module` with
[`--print`][] will throw an error, as `--print` does not support ES module
Expand Down

0 comments on commit fa14c36

Please sign in to comment.