-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Is this a bug report?
Yes
Have you read the Bugs section of the Contributing to React Native Guide?
Yes
Environment
-
react-native -v
: react-native-cli: 2.0.1 | react-native: 0.45.1 -
node -v
: v6.9.2 -
npm -v
: 3.10.9 -
yarn --version
(if you use Yarn): 0.21.3 -
Target Platform (e.g. iOS, Android): iOS
-
Development Operating System (e.g. macOS Sierra, Windows 10): macOS Sierra
-
Build tools (Xcode or Android Studio version, iOS or Android SDK version, if relevant): Xcode
Steps to Reproduce
> react-native init TmpProject
> cd TmpProject
> yarn add -D flow-bin
- edit .flowconfig to use flow-version >= 0.47
> ./node_modules/.bin/flow
node_modules/react-native/Libraries/Experimental/WindowedListView.js:493
493: {this.props.renderWindowBoundaryIndicator(showIndicator)}
^^^^^^^^^^^^^ unused function argument
76: renderWindowBoundaryIndicator?: () => ?React.Element<any>,
^^^^^^^^^^^^^^^^^^^^^^^^^ function type expects no arguments
... more errors like these...
Found 41 errors
Expected Behavior
No errors on a newly created project.
Actual Behavior
A lot of error on a newly created project.
Reproducible Demo
https://github.com/Jpunt/react-native-flow-bug
See this post on flow.org for more information about these kind of errors.
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.