Fix typespec of back action creator (#3659)

This commit is contained in:
Yordis Prieto
2018-03-05 11:10:39 -08:00
committed by Eric Vicenti
parent b7994d28db
commit 57e37a8783

View File

@@ -686,7 +686,7 @@ declare module 'react-navigation' {
SET_PARAMS: 'Navigation/SET_PARAMS',
URI: 'Navigation/URI',
back: {
(payload: { key?: ?string }): NavigationBackAction,
(payload?: { key?: ?string }): NavigationBackAction,
toString: () => string,
},
init: {