The worst part of implementing web workers, multi-process node.js apps, or Electron apps is inter-process communication. It's clunky, error prone, and can easily give you a headache.
This talk goes through some methods of utilizing TypeScript to make this process more sane, safe, and easy.