Hacker News new | ask | show | jobs
by mirekrusin 1362 days ago
You can't use `instanceof` ie. for your error types, actually every time you use class that extends something - it'll not be typed correctly. Basically nothing OO/class/inheritance related is typed correctly. Flow does it correctly.