Skip to content

Commit

Permalink
[flow] Mark key in StackActions.replace as optional (#5073)
Browse files Browse the repository at this point in the history
  • Loading branch information
lebedev authored and brentvatne committed Oct 10, 2018
1 parent 3ac5f41 commit 07afa55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/react-navigation.js
Expand Up @@ -818,7 +818,7 @@ declare module 'react-navigation' {
actions: Array<NavigationNavigateAction>,
}) => NavigationResetAction,
replace: (payload: {
key: string,
key?: string,
routeName: string,
params?: NavigationParams,
action?: NavigationNavigateAction,
Expand Down

0 comments on commit 07afa55

Please sign in to comment.