Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

Commit

Permalink
chore(HomeView): use cleaner syntax to define flow prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
David Zukowski committed Apr 18, 2016
1 parent 9c923a9 commit c1c85b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/HomeView/HomeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ type Props = {
// We avoid using the `@connect` decorator on the class definition so
// that we can export the undecorated component for testing.
// See: http://rackt.github.io/redux/docs/recipes/WritingTests.html
export class HomeView extends React.Component<void, Props, void> {
export class HomeView extends React.Component {
props: Props;
static propTypes = {
counter: PropTypes.number.isRequired,
doubleAsync: PropTypes.func.isRequired,
Expand Down

0 comments on commit c1c85b1

Please sign in to comment.