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