docs(router): corrected minor typo (#37166)
This commit corrects a typo and rephrases the first sentence of the `redirectTo` description to be more understandable. PR Close #37166
This commit is contained in:
parent
a73d2a7688
commit
3a4e1b8f86
|
@ -420,7 +420,7 @@ export interface Route {
|
|||
*/
|
||||
component?: Type<any>;
|
||||
/**
|
||||
* A URL to which to redirect when a the path matches.
|
||||
* A URL to redirect to when the path matches.
|
||||
* Absolute if the URL begins with a slash (/), otherwise relative to the path URL.
|
||||
* When not present, router does not redirect.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue