Created
October 12, 2018 08:53
-
-
Save minajevs/69125388da9c47a2d888f0b07a2ec567 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const thunk = createThunk<State, Action, Payload>((dispatch, payload) => { | |
doSomething(payload) | |
return dispatch(someAction()) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment