Created
June 17, 2018 19:12
-
-
Save daniele-zurico/ed0c7a2aa10005e8e23a5653d877f86b 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
export interface Hero { | |
url: string; | |
name: string; | |
birth_year: string; | |
eye_color: string; | |
gender: string; | |
homeworld: string; | |
hair_color: string; | |
height: number; | |
films: string[]; | |
species: string[]; | |
mass: number; | |
vehicles: string[]; | |
starships: string[]; | |
created: string; | |
edited: string; | |
} | |
export interface HeroesResponse { | |
count: number; | |
next: string | null; | |
previous: string | null; | |
results: Hero[]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment