Open drazenbebic opened 2 years ago
Create a new folder called interfaces in the src directory.
interfaces
src
Add exportable interfaces for the Pokemon and Pokemon Species endpoint objects in a file called pokeapi-objects.ts.
Pokemon
Pokemon Species
pokeapi-objects.ts
Split sub-objects into their own interfaces which don't need to be exportable, just used internally by the other two interfaces.
Create a new folder called
interfaces
in thesrc
directory.Add exportable interfaces for the
Pokemon
andPokemon Species
endpoint objects in a file calledpokeapi-objects.ts
.Split sub-objects into their own interfaces which don't need to be exportable, just used internally by the other two interfaces.