Skip to content

Commit

Permalink
Add NavigationSwitchAction to NavigationAction typescript (#6124)
Browse files Browse the repository at this point in the history
  • Loading branch information
vieiralucas authored and matthamil committed Jul 26, 2019
1 parent 5ae9460 commit edc4ace
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion typescript/react-navigation.d.ts
Expand Up @@ -531,11 +531,14 @@ declare module 'react-navigation' {
| NavigationCloseDrawerAction
| NavigationToggleDrawerAction;

export type NavigationSwitchAction = NavigationJumpToAction;

export type NavigationAction =
| NavigationInitAction
| NavigationStackAction
| NavigationTabAction
| NavigationDrawerAction;
| NavigationDrawerAction
| NavigationSwitchAction;

export type NavigationRouteConfig =
| NavigationComponent
Expand Down

0 comments on commit edc4ace

Please sign in to comment.