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