fix: fix the type of NavigationJumpToActionPayload (#6210)

As mentioned in https://reactnavigation.org/docs/en/switch-actions.html
the param which's name is 'key' of `SwitchActions.jumpTo()`  should be optional
This commit is contained in:
Nicholas Lee
2019-09-16 20:07:43 +09:00
committed by Satyajit Sahoo
parent 3aee211c73
commit 2b27bcd134

View File

@@ -345,7 +345,7 @@ declare module 'react-navigation' {
export interface NavigationJumpToActionPayload {
routeName: string;
key: string;
key?: string;
params?: NavigationParams;
}