A stricter TypeScript for a world where AI writes most of the code A developer proposes TypeScript-Ultra-Strict, a stricter TypeScript variant that removes null, undefined, classes, and var, replacing them with Option and Result types, and introduces a macro SDK for pattern matching, targeting a world where AI writes most code. The working MVP includes a CLI, runtime, plugin adapters for webpack/Vite/esbuild/Bun, and 29 example projects, with per-file adoption via .tsus extensions. The proposal argues that AI-generated code can afford stricter, more declarative and verifiable language features, similar to Rust, while leveraging the existing TypeScript ecosystem and JavaScript runtime. This is my proposal for TypeScript-Ultra-Strict: a stricter TypeScript for a world where AI writes most of the code. This repo is a thought experiment, not a production tool.The compiler works and every example passes, but there is no semantic type-checking, no exhaustiveness checking, no published packages, and no stability promise. It exists to make the proposal concrete enough to argue with. Do not build anything you care about on it yet. Status: working MVP. packages/cli implements tsus check and tsus build , packages/runtime implements Option / Result / match and the boundary layer, packages/plugin provides webpack/Vite/esbuild/Bun adapters, and all 29 projects under examples/ pass npm install && npm run examples . LEARNINGS.md documents what broke before the toolchain existed, how that shaped the design, and the known limitations. TypeScript's early design decisions assumed humans would write and maintain it, so a lot of features exist to make a human's life easier. We valued speed over quality. With AI writing most of our code, we can flip that tradeoff and force the language to be declarative and verifiable, like Rust. - Removes null and undefined . In their place, Option