From c1c85b1302a41b7e8faafe09a023bc415c255368 Mon Sep 17 00:00:00 2001 From: David Zukowski Date: Mon, 18 Apr 2016 09:48:13 -0400 Subject: [PATCH] chore(HomeView): use cleaner syntax to define flow prop types --- src/views/HomeView/HomeView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/HomeView/HomeView.js b/src/views/HomeView/HomeView.js index 8f50e6fb8..8d9fb23dd 100644 --- a/src/views/HomeView/HomeView.js +++ b/src/views/HomeView/HomeView.js @@ -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 { +export class HomeView extends React.Component { + props: Props; static propTypes = { counter: PropTypes.number.isRequired, doubleAsync: PropTypes.func.isRequired,