patronum
patronum copied to clipboard
Review `condition` types

then and else allows Unit<void> in union (Unit<T> | Unit<void> or Unit<T | void> doesnt matter).
When Event<T> passed to else it comes as T assigning to T | void, but also it is requires T | void for else, but passed T.
thenandelseallowsUnit<void>in union (Unit<T> | Unit<void>orUnit<T | void>doesnt matter). WhenEvent<T>passed toelseit comes asTassigning toT | void, but also it is requiresT | voidforelse, but passedT.
Could you please reproduce the issue?