TypeScript one-liner that replaced 30 lines — by @max_hashimoto on VOID | VOID