mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 21:05:29 +08:00
fix: update StackActions.popToTop type to make options arg optional (#5950)
This commit is contained in:
committed by
Satyajit Sahoo
parent
65632779c2
commit
35625ded74
3
flow/react-navigation.js
vendored
3
flow/react-navigation.js
vendored
@@ -882,7 +882,8 @@ declare module 'react-navigation' {
|
||||
n?: number,
|
||||
immediate?: boolean,
|
||||
}) => NavigationPopAction,
|
||||
popToTop: (payload: {
|
||||
popToTop: (payload?: {
|
||||
key?: string,
|
||||
immediate?: boolean,
|
||||
}) => NavigationPopToTopAction,
|
||||
push: (payload: {
|
||||
|
||||
Reference in New Issue
Block a user