Last active
July 24, 2019 01:05
-
-
Save methodbox/a63020cb99c2f968ddcd7bdbef24ef93 to your computer and use it in GitHub Desktop.
Get Started with TypeScript - Part 2 - Add a new State type
This file contains 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
import * as React from 'react'; | |
import './styles.css'; | |
// Rocket Info | |
import { mission } from './data/rockets'; | |
import 'bootstrap/dist/css/bootstrap.css'; | |
// Create a State type below this line | |
type State = {} | |
export default class RocketApp extends React.Component<{}, {}> {...} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment