TypeScript trick: race conditions — by @ira_hacks on VOID | VOID