Update docs about "TypeScript Configuration Files" (#17677)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-06-26 09:40:24 +08:00
1 parent b197c99224
commit b55e777924
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ The options you can use in the configuration file are the same as the [API optio
### TypeScript Configuration Files
TypeScript support for Node.js is currently experimental, Node.js>=22.6.0 is required and `--experimental-strip-types` is required to run Node.js.
TypeScript support requires Node.js>=22.6.0, and `--experimental-strip-types` is required before Node.js v24.3.0 to run Node.js.
```sh
node --experimental-strip-types node_modules/prettier/bin/prettier.cjs . --write
@@ -27,7 +27,7 @@ The options you can use in the configuration file are the same as the [API optio
### TypeScript Configuration Files
TypeScript support for Node.js is currently experimental, Node.js>=22.6.0 is required and `--experimental-strip-types` is required to run Node.js.
TypeScript support requires Node.js>=22.6.0, and `--experimental-strip-types` is required before Node.js v24.3.0 to run Node.js.
```sh
node --experimental-strip-types node_modules/prettier/bin/prettier.cjs . --write