It compiles to literally 0 js
bun build main.ts
tsc main.ts
Tested on tsc version 5.5.4
Just edit the game type to start playing!
type Game = TicTacToe<[
"C2",
"A1",
"B1",
"A0",
"B0",
"A2",
]>;
To view game state hover over this type in your IDE