From f83b0d47e03d0f1490c687f3d29b4cde1aea6a0f Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Tue, 17 Dec 2024 17:39:56 +0100 Subject: [PATCH] fixup Co-authored-by: Geoffrey Booth --- doc/api/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 71bdd297bf433b..a843c11b811841 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1374,7 +1374,7 @@ as an ES module. Valid values are `"commonjs"`, `"module"`, `"module-typescript" The `"-typescript"` values are available only in combination with the flag `--experimental-strip-types`. The default is `"commonjs"`. -If `--experimental-strip-types` is enabled and `--input-type`is not provided, +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,