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
Type payload-less slice action creators to take no arguments
Previously, it was not possible to assign a slice action creator
without payload to `() => any` because the type was inferred as
`(payload: void) => any`. Now we use a conditional type for
`SliceActionCreator` that special-cases `void`.
0 commit comments