Skip to content

Instantly share code, notes, and snippets.

@Ashoat
Created November 19, 2017 14:19
Show Gist options
  • Save Ashoat/1085068a5f49dd8f3a715093cc48c45d to your computer and use it in GitHub Desktop.
Save Ashoat/1085068a5f49dd8f3a715093cc48c45d to your computer and use it in GitHub Desktop.
Error: src/views/TabView/TabView.js:211
211: return <TabViewAnimated {...props} />;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ React element `TabViewAnimated`
148: routes: Array<NavigationRoute>,
^^^^^^^^^^^^^^^ intersection. This type is incompatible with. See: src/TypeDefinition.js:148
56: export default class TabViewAnimated<T: Route<*>> extends React.Component<
^^^^^^^^ empty. See: node_modules/react-native-tab-view/src/TabViewAnimated.js:56
Member 1:
175: export type NavigationStateRoute = NavigationLeafRoute & NavigationState;
^^^^^^^^^^^^^^^^^^^ NavigationLeafRoute. See: src/TypeDefinition.js:175
Error:
175: export type NavigationStateRoute = NavigationLeafRoute & NavigationState;
^^^^^^^^^^^^^^^^^^^ object type. This type is incompatible with. See: src/TypeDefinition.js:175
56: export default class TabViewAnimated<T: Route<*>> extends React.Component<
^^^^^^^^ empty. See: node_modules/react-native-tab-view/src/TabViewAnimated.js:56
Member 2:
175: export type NavigationStateRoute = NavigationLeafRoute & NavigationState;
^^^^^^^^^^^^^^^ NavigationState. See: src/TypeDefinition.js:175
Error:
175: export type NavigationStateRoute = NavigationLeafRoute & NavigationState;
^^^^^^^^^^^^^^^ object type. This type is incompatible with. See: src/TypeDefinition.js:175
56: export default class TabViewAnimated<T: Route<*>> extends React.Component<
^^^^^^^^ empty. See: node_modules/react-native-tab-view/src/TabViewAnimated.js:56
Error: src/views/TabView/TabView.js:211
211: return <TabViewAnimated {...props} />;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ React element `TabViewAnimated`
148: routes: Array<NavigationRoute>,
^^^^^^^^^^^^^^^ intersection. This type is incompatible with. See: src/TypeDefinition.js:148
68: export default class TabViewPagerPan<T: Route<*>> extends React.Component<
^^^^^^^^ empty. See: node_modules/react-native-tab-view/src/TabViewPagerPan.js:68
Member 1:
175: export type NavigationStateRoute = NavigationLeafRoute & NavigationState;
^^^^^^^^^^^^^^^^^^^ NavigationLeafRoute. See: src/TypeDefinition.js:175
Error:
175: export type NavigationStateRoute = NavigationLeafRoute & NavigationState;
^^^^^^^^^^^^^^^^^^^ object type. This type is incompatible with. See: src/TypeDefinition.js:175
68: export default class TabViewPagerPan<T: Route<*>> extends React.Component<
^^^^^^^^ empty. See: node_modules/react-native-tab-view/src/TabViewPagerPan.js:68
Member 2:
175: export type NavigationStateRoute = NavigationLeafRoute & NavigationState;
^^^^^^^^^^^^^^^ NavigationState. See: src/TypeDefinition.js:175
Error:
175: export type NavigationStateRoute = NavigationLeafRoute & NavigationState;
^^^^^^^^^^^^^^^ object type. This type is incompatible with. See: src/TypeDefinition.js:175
68: export default class TabViewPagerPan<T: Route<*>> extends React.Component<
^^^^^^^^ empty. See: node_modules/react-native-tab-view/src/TabViewPagerPan.js:68
Error: src/views/TabView/TabView.js:211
211: return <TabViewAnimated {...props} />;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ React element `TabViewAnimated`
148: routes: Array<NavigationRoute>,
^^^^^^^^^^^^^^^ object type. This type is incompatible with. See: src/TypeDefinition.js:148
56: export default class TabViewAnimated<T: Route<*>> extends React.Component<
^^^^^^^^ empty. See: node_modules/react-native-tab-view/src/TabViewAnimated.js:56
Error: src/views/TabView/TabView.js:211
211: return <TabViewAnimated {...props} />;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ React element `TabViewAnimated`
148: routes: Array<NavigationRoute>,
^^^^^^^^^^^^^^^ object type. This type is incompatible with. See: src/TypeDefinition.js:148
68: export default class TabViewPagerPan<T: Route<*>> extends React.Component<
^^^^^^^^ empty. See: node_modules/react-native-tab-view/src/TabViewPagerPan.js:68
Found 4 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment