TTSC
The compiler and the runtime, one toolchain, one tsconfig.json.
npx ttsc # build Β· check Β· watch Β· fix Β· format
npx ttsx file.ts # run TypeScript with a real type-checkIn this chapter
- Compile:
ttscbuild / check / watch / fix / format. Day-to-day commands. - Execute:
ttsx. The typed replacement fortsxandts-node. - CLI flags: the full flag reference.
Bundler setups (@ttsc/unplugin, @ttsc/metro) live in Setup β Unplugin and Setup β Metro.
To show TypeScript errors and supported plugin diagnostics in VS Code, install the extension as part of Setup β VS Code. For lint and format, see Lint & Prettier. For the utility plugins shipped in this repo and the wider ecosystem (typia, nestia, β¦), see Plugin Ecosystem.
How they fit together
Every ttsc build is one pass over your project:
- Read
tsconfig.json. - Type-check the project.
- Run every configured plugin, in order.
- Emit JS +
.d.ts(or skip with--noEmit).
ttsx does steps 1β3, then runs the result instead of emitting. @ttsc/unplugin runs the same plugin pass inside a bundler. The VS Code extension shows TypeScript-Go editor features plus supported plugin diagnostics and actions from the same project setup. It does not emit or rewrite JavaScript.