Hacker News new | ask | show | jobs
by icebraining 2984 days ago
Read the linked previous post[1]. Flow doesn't ensure exhaustiveness unless you ask it to, by telling it that any case that goes to "default" is invalid (impossible).

[1] https://blog.jez.io/flow-exhaustiveness/

1 comments

Miserable hack.