help wanted
Description
I have Flow version 0.32.0 and ex-navigation version 1.5.26. When I run flow in my project root I got this:
node_modules/@exponent/ex-navigation/src/ExNavigationAlertBar.js:153
153: this._textContainerRef.measure((l, t, w, height) => {
^ call of method `measure`. Function cannot be called on
153: this._textContainerRef.measure((l, t, w, height) => {
^ property `measure` of unknown type
node_modules/@exponent/ex-navigation/src/ExNavigationStack.js:435
435: <AlertBarComponent
^ React element `AlertBarComponent`
435: <AlertBarComponent
^ React element `AlertBarComponent`. Expected React component instead of
431: const AlertBarComponent = this.props.alertBarComponent || this.context.alertBarComponent || ExNavigationAlertBar;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mixed
node_modules/@exponent/ex-navigation/src/ExNavigationStack.js:435
435: <AlertBarComponent
^ React element `AlertBarComponent`
435: <AlertBarComponent
^ React element `AlertBarComponent`. Expected React component instead of
431: const AlertBarComponent = this.props.alertBarComponent || this.context.alertBarComponent || ExNavigationAlertBar;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ property `alertBarComponent` of unknown type
node_modules/@exponent/ex-navigation/src/ExNavigationStack.js:472
472: <HeaderComponent
^ React element `HeaderComponent`
472: <HeaderComponent
^ React element `HeaderComponent`. Expected React component instead of
464: const HeaderComponent = this.props.headerComponent || this.context.headerComponent || NavigationBar;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mixed
node_modules/@exponent/ex-navigation/src/ExNavigationStack.js:472
472: <HeaderComponent
^ React element `HeaderComponent`
472: <HeaderComponent
^ React element `HeaderComponent`. Expected React component instead of
464: const HeaderComponent = this.props.headerComponent || this.context.headerComponent || NavigationBar;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ property `headerComponent` of unknown type
node_modules/@exponent/ex-navigation/src/drawer/ExNavigationDrawer.js:165
165: {items.map(item => this.renderItemContent(item))}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
165: {items.map(item => this.renderItemContent(item))}
^^^^ undefined. This type is incompatible with
170: renderItemContent(drawerItem: Object) {
^^^^^^ object type
node_modules/@exponent/ex-navigation/src/drawer/ExNavigationDrawerLayout.js:78
78: return this.props.items.map((item, index) => {
^ call of method `map`. Method cannot be called on
78: return this.props.items.map((item, index) => {
^^^^^^^^^^^^^^^^ property `items` of unknown type
node_modules/@exponent/ex-navigation/src/sliding-tab/ExNavigationSlidingTab.js:198
198: return tabItem && tabItem.renderLabel ? tabItem.renderLabel(options) : null;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `renderLabel`. Function cannot be called on
198: return tabItem && tabItem.renderLabel ? tabItem.renderLabel(options) : null;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ property `renderLabel` of unknown type
node_modules/@exponent/ex-navigation/src/tab/ExNavigationTab.js:171
171: {tabs.map(tab => this.renderTab(tab))}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
171: {tabs.map(tab => this.renderTab(tab))}
^^^ undefined. This type is incompatible with
176: renderTab(tabItem: Object) {
^^^^^^ object type
Found 9 errors
Am I missing some configurations or what is the problem?