From 2f87a9c1ec3de65ac0b159d7564280c41350abec Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Tue, 17 Dec 2024 16:27:59 +0100 Subject: [PATCH] Update doc/api/cli.md --- 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 dc1f16dc3c3da2..94cfa0f90ac81c 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1376,7 +1376,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, +When using TypeScript, the `--input-type=type` flag should always be used, to reduce the overhead of multiple syntax detections. The REPL does not support this option. Usage of `--input-type=module` with