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