Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找将单个 .ts 文件编译到标准输出,如下所示:
tsc foo.ts > foo.js
这有可能吗?我想在不使用 tsconfig.json 文件的情况下控制输出的去向。