Why are JavaScript promises not type-safe? | Heykuki News