Solving Advent of Code with Only TypeScript Types
Advent of Code 2022, Day 1, solved entirely inside TypeScript's type system. No runtime code at all: the puzzle input goes into a type alias, the compiler does the arithmetic, and the answer shows up in a hover tooltip.
