Hacker News new | ask | show | jobs
by mezzode 2959 days ago
I've found myself preferring type guards for checking action type, since it avoids you having to have keep one big `Actions` union around that takes X amount of lines and really doesn't serve any other purpose.