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