From 4785f98a4d9662cc865a04696df281d92bffee11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= <165856+hramos@users.noreply.github.com> Date: Wed, 13 Dec 2017 16:55:32 -0800 Subject: [PATCH] Clarify use of Flow props types in cli example --- local-cli/templates/HelloWorld/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/local-cli/templates/HelloWorld/App.js b/local-cli/templates/HelloWorld/App.js index d4ae45c1999970..dd1d45ab3967c9 100644 --- a/local-cli/templates/HelloWorld/App.js +++ b/local-cli/templates/HelloWorld/App.js @@ -19,7 +19,8 @@ const instructions = Platform.select({ 'Shake or press menu button for dev menu', }); -export default class App extends Component<{}> { +type Props = {}; +export default class App extends Component { render() { return (