mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-22 19:58:32 +08:00
fix: use Partial type for initialParam (#206)
This commit is contained in:
committed by
Satyajit Sahoo
parent
8002d51795
commit
c3d3748143
@@ -533,7 +533,7 @@ export type RouteConfig<
|
||||
/**
|
||||
* Initial params object for the route.
|
||||
*/
|
||||
initialParams?: ParamList[RouteName];
|
||||
initialParams?: Partial<ParamList[RouteName]>;
|
||||
} & (
|
||||
| {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user