Created
March 17, 2016 09:19
-
-
Save stepancar/9bc62ecf5a5368e59b96 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
interface SyncAction { | |
type: any; | |
} | |
interface AsyncAction { | |
(dispatch: (action: SyncAction | AsyncAction)=> any, getState:()=> AppState): void | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
export function anyActionCreator(): AsyncAction{
return (dispatch, getState){
}
}