Update to match latest version of package (#35384)

https://github.com/faceyspacey/redux-first-router/tree/master/examples/thunks#pathless-routes

> A pathless route is a `routesMap` entry without a `path`
This commit is contained in:
olivier-kickstand
2019-05-14 13:51:17 -07:00
committed by Nathan Shively-Sanders
parent a22f9a688e
commit 145a1e1ad5
+1 -1
View File
@@ -35,7 +35,7 @@ export type RouteThunk<TState = any> = (
export type RouteObject<TKeys = {}, TState = any> = TKeys & {
capitalizedWords?: boolean;
navKey?: string;
path: string;
path?: string;
thunk?: RouteThunk<TState>;
fromPath?(path: string, key?: string): string;
toPath?(param: string, key?: string): string;