Skip to content

Instantly share code, notes, and snippets.

@nicowernli
Last active August 31, 2018 10:56
Show Gist options
  • Save nicowernli/f659c8353d91b8573c74203749e3d701 to your computer and use it in GitHub Desktop.
Save nicowernli/f659c8353d91b8573c74203749e3d701 to your computer and use it in GitHub Desktop.
Planet interface
export interface Planet {
name: string;
rotation_period: number;
orbital_period: number;
diameter: number;
climate: string;
gravity: string;
terrain: string;
surface_water: number;
population: number;
residents: string[];
films: string[];
created: Date;
edited: Date;
url: string;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment