diff --git a/src/views/withNavigation.js b/src/views/withNavigation.js index 383d959..f073216 100644 --- a/src/views/withNavigation.js +++ b/src/views/withNavigation.js @@ -3,7 +3,7 @@ import React from 'react'; import hoistStatics from 'hoist-non-react-statics'; -import { ContextWithNavigation } from '../TypeDefinition'; +import type { ContextWithNavigation } from '../TypeDefinition'; export default function withNavigation(Component: ReactClass) { const componentWithNavigation = (props: T, { navigation }: ContextWithNavigation) => (