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