From df288564c6e2b1b268ee9dcf3254c7a6da08f41b Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Sat, 12 Sep 2015 15:32:12 -0700 Subject: [PATCH] Fix Flow annotations in ScrollViewSimpleExample Reviewed By: @jingc Differential Revision: D2437502 --- Examples/UIExplorer/ScrollViewSimpleExample.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/UIExplorer/ScrollViewSimpleExample.js b/Examples/UIExplorer/ScrollViewSimpleExample.js index 79673e6d0..c9bbe7407 100644 --- a/Examples/UIExplorer/ScrollViewSimpleExample.js +++ b/Examples/UIExplorer/ScrollViewSimpleExample.js @@ -30,7 +30,7 @@ var ScrollViewSimpleExample = React.createClass({ title: '', description: 'Component that enables scrolling through child components.' }, - makeItems: function(nItems, styles) { + makeItems: function(nItems: number, styles): Array { var items = []; for (var i = 0; i < nItems; i++) { items[i] = (