Created
March 7, 2020 19:23
-
-
Save vhuerta/e3d96f03a41bf5c55fb2bdf1777df3c5 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
// ACTIONS | |
type FetchPokemonPending = { | |
type: "FETCH_POKEMON_PENDING"; | |
}; | |
type FetchPokemonCompleted = { | |
type: "FETCH_POKEMON_COMPLETED"; | |
pokemons: Pokemon[]; | |
}; | |
type FetchPokemonFailed = { | |
type: "FETCH_POKEMON_FAILED"; | |
}; | |
type PokemonAction = | |
| FetchPokemonPending | |
| FetchPokemonCompleted | |
| FetchPokemonFailed; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment