handie-react-starter-umi
Version:
`handie-react-starter-antd` + `umi`
7 lines (6 loc) • 406 B
TypeScript
import { HistoryLocation, LocationRoute } from 'handie-react-starter-antd';
declare function setRoutes(routes: Record<string, any>[]): void;
declare function findRouteDeeply(pathname: string, routes?: any[]): any;
declare function getLocation(): LocationRoute;
declare function resolveHistoryParams(location: HistoryLocation): any;
export { setRoutes, findRouteDeeply, getLocation, resolveHistoryParams };