Stdle #156 · narrowing · 2026-11-09
What does this TypeScript snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
type T = { run?: () => void }const o: T = {}console.log("run" in o)Narrowing
Stdle #156 · narrowing · 2026-11-09
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
type T = { run?: () => void }const o: T = {}console.log("run" in o)