Created
September 17, 2017 15:48
-
-
Save philipszdavido/13f80b152f2156046854225e51dc3f60 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
export interface Action { | |
type : string, | |
payload?: any | |
} | |
dispatch({type:’ADD_ARTICLE’,payload:{ | |
link:’github.com/philipszdavido’, | |
points:90 | |
} | |
}) | |
dispatch({type:’LOAD_LINKS’}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment