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 4830d664da
commit c4234577db

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