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 <webadmin@geoffreybooth.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
Marco Ippolito 2024-07-25 14:58:08 +02:00 committed by GitHub
parent a851d0cce2
commit 2cd968717d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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