Using union type for route,
Add missing parent property (only present if the current router is a child router)
Fix queryParams type
Fix guardRoute return type
cleanup mixed tab/spaces
Change the typing of the url parameter in IRouteInfoParameters from string to any. Using a string disallow the use of Regular Expression as URL value. Using any instead of string give more flexibility. Using RegExp as URL gives you the possibility to specify "catch all" routes.
Bugfixed mapRoute to have two function signatures.
Bugfixed map to take single or array of IRouteInfoParameters.
Renamed interface IRouteInfo from routeInfo
Added interface IRouteInfoParameters
Bugfixed mapRoute to have two function signatures.
Bugfixed map to take single or array of IRouteInfoParameters.
Renamed interface IRouteInfo from routeInfo
Added interface IRouteInfoParameters
Renamed interface IRouteInfo from routeInfo
Added interface IRouteInfoParameters
Bugfixed mapRoute to have two function signatures.
Bugfixed map to take single or array of IRouteInfoParameters.
- Make applicationHost parameter optional in setRoot
- Add missing activeRoute definition
- Add missing useConvention definition
- Add missing handleInvalidRoute definition
- Change mapRoute definition so you can pass an URL with all the other
parameters as you will usealy do or you pass a RouteInfo object without
having to give it any other parameter. moduleId, name and visible are
now optional.