Optionalconfig: { aliasFor?: string; params?: TParamKeys[] }
Description of the route reference to be created.
OptionalaliasFor?: stringAn ID of another route ref that this ref is an alias for, used to avoid duplicate route warnings when the same feature is reached through multiple routes.
Optional Readonlyparams?: TParamKeys[]A list of parameter names that the path that this route ref is bound to must contain
Create a RouteRef from a route descriptor.