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:
m-ahmadi 2020-05-19 02:40:29 +04:30 committed by Kara Erickson
parent a73d2a7688
commit 3a4e1b8f86
1 changed files with 1 additions and 1 deletions

View File

@ -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.
*/