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