Skip to content

Commit

Permalink
Fix Flow annotations in ScrollViewSimpleExample
Browse files Browse the repository at this point in the history
Reviewed By: @jingc

Differential Revision: D2437502
  • Loading branch information
Martin Konicek authored and facebook-github-bot-2 committed Sep 12, 2015
1 parent f4172de commit df28856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/UIExplorer/ScrollViewSimpleExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var ScrollViewSimpleExample = React.createClass({
title: '<ScrollView>',
description: 'Component that enables scrolling through child components.'
},
makeItems: function(nItems, styles) {
makeItems: function(nItems: number, styles): Array<any> {
var items = [];
for (var i = 0; i < nItems; i++) {
items[i] = (
Expand Down

0 comments on commit df28856

Please sign in to comment.