You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying an element with ofType<void>, it was my expectation that I could then use the element factory without specifying an argument, e.g. AuthActions.LOGOUT(). Instead it turns out I have to do AuthActions.LOGOUT(null) or AuthActions.LOGOUT(undefined), which feels rather unnecessary. It seems to me like there should be a way to enable this behavior, by having two different types for the factory depending on whether the type is void or not.
The text was updated successfully, but these errors were encountered:
When specifying an element with
ofType<void>
, it was my expectation that I could then use the element factory without specifying an argument, e.g.AuthActions.LOGOUT()
. Instead it turns out I have to doAuthActions.LOGOUT(null)
orAuthActions.LOGOUT(undefined)
, which feels rather unnecessary. It seems to me like there should be a way to enable this behavior, by having two different types for the factory depending on whether the type is void or not.The text was updated successfully, but these errors were encountered: