No. 270 · September 22, 2026 · Moderate
All object values
Implement `ValuesOf<T>` so it produces the union of every property value in `T`, including numeric and symbol keys.
01
Puzzle
Par 3Puzzle
values-of.tsdeclare const token: unique symbol
Stroke 1 of 3Not run yet
Replace ??? — your solution is checked against the cases below. Tab indents; press Escape then Tab to move focus out.
Checks
3ValuesOf<{ a: 1; b: 'x' }>—→ 1 | 'x'ValuesOf<{ 0: 'zero'; a: 1 }>—→ 'zero' | 1ValuesOf<{ [token]: true; a: false }>—→ boolean
How a check is judged Exact type equality, not assignability — an intersection is not the same as the flattened object.
How everyone did
Fewer than 5 people have solved this one so far. The distribution appears once there is enough of a sample to mean anything.
Short game
Fewest charactersNo public scores yet.
02
Annotated solution
This write-up publishes 24 hours after the puzzle closes.

