Skip to Content

TypeScript-Go toolchain

ttsc

Build with TypeScript-Go. Run scripts only after they type-check. Let plugins see the same types the compiler sees.

10x

faster type checks

Up to 10x faster than JavaScript tsc through TypeScript-Go.

800x

faster lint loop

Measured on the VS Code fixture against ESLint.

type-safe

script execution

ttsx checks the project before Node receives the entrypoint.

compiler path
1
ttsc

build / check / watch

2
ttsx

checked script runner

3
@ttsc/lint

rules as compiler diagnostics

4
@ttsc/graph

code map for coding agents, over MCP

5
plugins

AST + Checker before emit

src/index.ts:3:7 - error TS2322

Type errors and lint rules land in the same diagnostic stream.

[Diagnostics]

Type errors and lint errors should look like one failure.

ttsc can print rule violations as TS diagnostics. Local runs, CI, and the editor all point at the same file, line, and rule.

type errors

lint violations

format fixes

editor underlines

$ npx ttsc --noEmit
src/index.ts:3:7 - error TS2322: Type 'number' is not assignable to type 'string'.
src/index.ts:2:5 - error TS17397: [prefer-const] Use const instead of let.
src/index.ts:1:1 - error TS11966: [no-var] Unexpected var, use let or const instead.
1 var x: number = 3; ~~~~~~~~~~~~~~~~~~
2 let y: number = 4; ~~~~~~~~~~~~~
3 const z: string = 5; ~
4
5 console.log(x + y + z);
Found 3 errors in the same file.

[Playground]

Try the compiler path in the browser.

The playground boots the WebAssembly build of ttsc in a worker. Your source stays in the tab while you test diagnostics, transforms, and emitted output.

01edit TypeScript
02run ttsc.wasm
03inspect diagnostics
04compare output

globalThis.ttsc.build()

Same engine shape as the CLI, packaged for in-tab demos and plugin playgrounds.

[Sponsors]

Built with help from people who keep the work moving.

Sponsor support funds the quiet work behind ttsc: TypeScript-Go upgrades, platform binaries, plugin compatibility, documentation, and the playground.

Sponsor ttsc

Thank you for your support

ttsc sponsors
Last updated on