Skip to content

Commit

Permalink
fix: add reset to navigation screen prop TypeScript def (#5942)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielholmes authored and satya164 committed May 28, 2019
1 parent 26ca063 commit 6563277
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typescript/react-navigation.d.ts
Expand Up @@ -749,6 +749,7 @@ declare module 'react-navigation' {
params?: NavigationParams,
action?: NavigationNavigateAction
) => boolean;
reset: (actions: NavigationAction[], index: number) => boolean;
pop: (n?: number, params?: { immediate?: boolean }) => boolean;
popToTop: (params?: { immediate?: boolean }) => boolean;
isFocused: () => boolean;
Expand Down

0 comments on commit 6563277

Please sign in to comment.