mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 17:34:59 +08:00
Removes duplicate NavigationInjectedProps export (#5828)
This commit is contained in:
4
typescript/react-navigation.d.ts
vendored
4
typescript/react-navigation.d.ts
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user