fix: use Partial type for initialParam (#206)

This commit is contained in:
Oliver Winter
2019-12-16 13:58:37 +01:00
committed by Satyajit Sahoo
parent 8002d51795
commit c3d3748143

View File

@@ -533,7 +533,7 @@ export type RouteConfig<
/**
* Initial params object for the route.
*/
initialParams?: ParamList[RouteName];
initialParams?: Partial<ParamList[RouteName]>;
} & (
| {
/**