Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Co-authored-by: Geoffrey Booth <[email protected]>
  • Loading branch information
marco-ippolito and GeoffreyBooth authored Dec 17, 2024
1 parent f83b0d4 commit 0c1d4d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1377,8 +1377,8 @@ 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 always be used,
to reduce the overhead of multiple syntax detections.
To avoid the delay of multiple syntax detection passes, the `--input-type=type` flag can be used to specify
how the `--eval` input should be interpreted.

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 0c1d4d0

Please sign in to comment.