Closed giann closed 1 year ago
Allow (Function() > str)? to distinguish the two cases.
(Function() > str)?
Function() > str? vs Function() > str !> void?
Function() > str?
Function() > str !> void?
Works because void can't be optional and we don't allow optional error types.
void
Allow
(Function() > str)?
to distinguish the two cases.