diff --git a/types/react-navigation/react-navigation-tests.tsx b/types/react-navigation/react-navigation-tests.tsx index 62286dd4c3..e8573bac89 100644 --- a/types/react-navigation/react-navigation-tests.tsx +++ b/types/react-navigation/react-navigation-tests.tsx @@ -76,8 +76,7 @@ interface NextScreenNavigationParams { id: number; name: string; } -interface NextScreenProps extends NavigationScreenProps { } -class NextScreen extends React.Component { +class NextScreen extends React.Component> { render() { // Implicit type checks. const navigationStateParams: NextScreenNavigationParams = this.props.navigation.state.params;