|
|
@ -52,7 +52,7 @@ export type Route = {
|
|
|
|
} & MenuDataItem;
|
|
|
|
} & MenuDataItem;
|
|
|
|
export type WithFalse<T> = T | false;
|
|
|
|
export type WithFalse<T> = T | false;
|
|
|
|
|
|
|
|
|
|
|
|
export type RouterTypes<P> = {
|
|
|
|
export type RouterTypes<P extends { [K in keyof P]?: string | undefined; }> = {
|
|
|
|
computedMatch?: match<P>;
|
|
|
|
computedMatch?: match<P>;
|
|
|
|
route?: Route;
|
|
|
|
route?: Route;
|
|
|
|
location: BasicRouteProps['location'] | { pathname?: string };
|
|
|
|
location: BasicRouteProps['location'] | { pathname?: string };
|
|
|
|