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
I have an async action created with createAsyncThunk. Link
Now I bind the dispatch to it with bindActionCreators and I expose the action with a custom hook. Link
If now I try to use the async action, the then is not a recognized property and I get an error Link
Property 'then' does not exist on type 'AsyncThunkAction<number, number, {}>'
Do you have any ideas?
My dispatch is custom typed and therefore everything should be correct