ttsx
execute TypeScript with full-project type checking first
TLDR
SYNOPSIS
ttsx file [scriptargs_...]
DESCRIPTION
ttsx is the execution companion to ttsc. Like tsx or ts-node, it runs a TypeScript file without a separate compile step, but it type-checks the whole project first. If type checking fails, the process exits before any user code runs.It uses the same typescript-go toolchain and plugin pipeline as ttsc, so compiler plugins (transforms, typia, lint diagnostics, and so on) apply on every run. Install with npm install -D ttsc typescript (the ttsx binary ships with the ttsc package) and invoke via npx ttsx or a package script.
PARAMETERS
file
TypeScript entry file to type-check and executescriptargs_
Arguments forwarded to the running program (often after -- when using npx)
CAVEATS
Type-checking the full project adds startup latency compared with transpile-only runners. Project configuration must be valid (tsconfig.json discoverable). Behavior depends on the installed ttsc version and any enabled plugins. For pure build/check without execution, use ttsc instead.
HISTORY
Part of the ttsc toolchain by Jeongho Nam (samchon), positioned as a type-safe alternative to tsx and ts-node on top of typescript-go.
