From 145a1e1ad57dee1d4dce092452e3317748e60480 Mon Sep 17 00:00:00 2001 From: olivier-kickstand <50283276+olivier-kickstand@users.noreply.github.com> Date: Tue, 14 May 2019 13:51:17 -0700 Subject: [PATCH] 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` --- types/redux-first-router/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/redux-first-router/index.d.ts b/types/redux-first-router/index.d.ts index 13b4578322..fee6b525e0 100644 --- a/types/redux-first-router/index.d.ts +++ b/types/redux-first-router/index.d.ts @@ -35,7 +35,7 @@ export type RouteThunk = ( export type RouteObject = TKeys & { capitalizedWords?: boolean; navKey?: string; - path: string; + path?: string; thunk?: RouteThunk; fromPath?(path: string, key?: string): string; toPath?(param: string, key?: string): string;