Skip to content

Commit e8ea477

Browse files
committed
flow: Add fixmes for upcoming upgrade.
When we upgrade Flow to v0.92 in tandem with RN to v0.59, we'll start getting errors here. Add fixmes for them.
1 parent c542823 commit e8ea477

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/main/MainTabs.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import ProfileCard from '../account-info/ProfileCard';
1717
export default TabNavigator(
1818
{
1919
home: {
20+
// $FlowFixMe react-navigation types are twisty and seem wrong
2021
screen: HomeTab,
2122
navigationOptions: {
2223
tabBarLabel: 'Home',
@@ -35,6 +36,7 @@ export default TabNavigator(
3536
},
3637
},
3738
conversations: {
39+
// $FlowFixMe react-navigation types are twisty and seem wrong
3840
screen: PmConversationsCard,
3941
navigationOptions: {
4042
tabBarLabel: 'Conversations',
@@ -44,6 +46,7 @@ export default TabNavigator(
4446
},
4547
},
4648
settings: {
49+
// $FlowFixMe react-navigation types are twisty and seem wrong
4750
screen: SettingsCard,
4851
navigationOptions: {
4952
tabBarLabel: 'Settings',
@@ -53,6 +56,7 @@ export default TabNavigator(
5356
},
5457
},
5558
profile: {
59+
// $FlowFixMe react-navigation types are twisty and seem wrong
5660
screen: ProfileCard,
5761
navigationOptions: {
5862
tabBarLabel: 'Profile',

src/main/StreamTabs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const styles = StyleSheet.create({
1919
export default TabNavigator(
2020
{
2121
subscribed: {
22+
// $FlowFixMe react-navigation types are twisty and seem wrong
2223
screen: SubscriptionsCard,
2324
navigationOptions: {
2425
tabBarLabel: (props: TabNavigationOptionsPropsType) => (
@@ -29,6 +30,7 @@ export default TabNavigator(
2930
},
3031
},
3132
allStreams: {
33+
// $FlowFixMe react-navigation types are twisty and seem wrong
3234
screen: StreamListCard,
3335
navigationOptions: {
3436
tabBarLabel: (props: TabNavigationOptionsPropsType) => (

0 commit comments

Comments
 (0)