add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,28 @@
# ts-node
> 直接运行 TypeScript 代码,无需编译。
> 更多信息:<https://typestrong.org/ts-node>。
- 执行一个 TypeScript 文件而不进行编译(`node` + `tsc`
`ts-node {{path/to/file.ts}}`
- 执行一个 TypeScript 文件而不加载 `tsconfig.json`
`ts-node --skip-project {{path/to/file.ts}}`
- 评估作为字面量传递的 TypeScript 代码:
`ts-node --eval '{{console.log("Hello World")}}'`
- 以脚本模式执行 TypeScript 文件:
`ts-node --script-mode {{path/to/file.ts}}`
- 将 TypeScript 文件转译为 JavaScript 而不执行它:
`ts-node --transpile-only {{path/to/file.ts}}`
- 显示 TS-Node 帮助信息:
`ts-node --help`