mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 17:30:38 +08:00
Deploy Flow v0.85 to xplat/js
Reviewed By: fishythefish Differential Revision: D12898653 fbshipit-source-id: 2ed11ce569600fe4c12528939a350dd827c9a29a
This commit is contained in:
committed by
Facebook Github Bot
parent
04ea9762e2
commit
adc8a33fcf
@@ -21,6 +21,9 @@ class ScrollViewSimpleExample extends React.Component<{}> {
|
||||
static description =
|
||||
'Component that enables scrolling through child components.';
|
||||
|
||||
/* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error
|
||||
* found when Flow v0.85 was deployed. To see the error, delete this comment
|
||||
* and run Flow. */
|
||||
makeItems = (nItems: number, styles): Array<any> => {
|
||||
const items = [];
|
||||
for (let i = 0; i < nItems; i++) {
|
||||
|
||||
Reference in New Issue
Block a user