Skip to content

Instantly share code, notes, and snippets.

@methodbox
Last active July 24, 2019 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save methodbox/7d8a90b3c9ef0e71048c4cf42a94e8c7 to your computer and use it in GitHub Desktop.
Save methodbox/7d8a90b3c9ef0e71048c4cf42a94e8c7 to your computer and use it in GitHub Desktop.
Get Started with TypeScript - Part 2 - New State Type - Complete
type State = {
appTitle: string;
launchImg: string;
rocketName: string;
missionName: string;
missionLogo: string;
missionDetails: string;
missionSuccess: boolean;
flightNumber: number;
missionId: string;
launchDate: string;
payloadSize: number;
ships: Array<string>;
isShowingMissionData: boolean;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment