Skip to content

Instantly share code, notes, and snippets.

@daniele-zurico
Created June 17, 2018 19:12
Show Gist options
  • Save daniele-zurico/ed0c7a2aa10005e8e23a5653d877f86b to your computer and use it in GitHub Desktop.
Save daniele-zurico/ed0c7a2aa10005e8e23a5653d877f86b to your computer and use it in GitHub Desktop.
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