From c1634c721314532a9ab71b95e42b65e3192b268a Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Thu, 25 Jul 2024 14:58:08 +0200 Subject: [PATCH] doc: correct typescript stdin support PR-URL: https://github.com/nodejs/node/pull/54036 Fixes: https://github.com/nodejs/node/issues/54035 Reviewed-By: Geoffrey Booth Reviewed-By: Yagiz Nizipli Reviewed-By: Matteo Collina --- doc/api/typescript.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/typescript.md b/doc/api/typescript.md index 5f5e8b2552333e..69711d36a39349 100644 --- a/doc/api/typescript.md +++ b/doc/api/typescript.md @@ -123,10 +123,10 @@ import { fn, FnParams } from './fn.ts'; ### Non-file forms of input -Type stripping can be enabled for `--eval` and STDIN input. The module system +Type stripping can be enabled for `--eval`. The module system will be determined by `--input-type`, as it is for JavaScript. -TypeScript syntax is unsupported in the REPL, `--print`, `--check`, and +TypeScript syntax is unsupported in the REPL, STDIN input, `--print`, `--check`, and `inspect`. ### Source maps