From 3b2dbf5a65bcc4d47a629b37d4966c4c19adf22e Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Fri, 3 May 2024 12:18:02 +0200 Subject: [PATCH] docs: typo in RedirectFunction description (#55653) PR Close #55653 --- packages/router/src/models.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/router/src/models.ts b/packages/router/src/models.ts index 617b6b2a68e..f8932f3b28d 100644 --- a/packages/router/src/models.ts +++ b/packages/router/src/models.ts @@ -284,7 +284,7 @@ export type LoadChildren = LoadChildrenCallback; export type QueryParamsHandling = 'merge' | 'preserve' | ''; /** - * The type for the function that returns a used to handle redirects when the path matches a `Route` config. + * The type for the function that can be used to handle redirects when the path matches a `Route` config. * * The `RedirectFunction` does have access to the full * `ActivatedRouteSnapshot` interface. Some data are not accurately known