Tooling
ttc CLI
Compile, check, type-check, and watch complete source trees.
shell
npx ttc --check src
npx ttc --check-types src
npx tsc -p tsconfig.json --runExternalCode
npx ttc -o build src
npx ttc help matchFeatures
- --check runs tt-level checks without TypeScript.
- --check-types adds TypeScript-backed checks at .tt and .ttx source positions.
- The TypeScript CLI loads .tt and .ttx through the configured content mapper.
- Directories preserve the source tree and pass handwritten .ts and .tsx through.