Skip to content

Commit

Permalink
Removes duplicate NavigationInjectedProps export (react-navigation#5828)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlodato517 authored and brentvatne committed Apr 19, 2019
1 parent cd22810 commit 5e07cd2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions typescript/react-navigation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1391,10 +1391,6 @@ declare module 'react-navigation' {
navigation: NavigationScreenProp<NavigationRoute<P>, P>;
}

export interface NavigationInjectedProps<P = NavigationParams> {
navigation: NavigationScreenProp<NavigationRoute<P>, P>;
}

// If the wrapped component is a class, we can get a ref to it
export function withNavigation<
P extends NavigationInjectedProps,
Expand Down

0 comments on commit 5e07cd2

Please sign in to comment.