From 3a4e1b8f860eb7449144a0866de750d9e18d2501 Mon Sep 17 00:00:00 2001 From: m-ahmadi Date: Tue, 19 May 2020 02:40:29 +0430 Subject: [PATCH] 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 --- packages/router/src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/router/src/config.ts b/packages/router/src/config.ts index 2ce2a3cbb9..bf8e954b01 100644 --- a/packages/router/src/config.ts +++ b/packages/router/src/config.ts @@ -420,7 +420,7 @@ export interface Route { */ component?: Type; /** - * 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. */