From 78690ee35462839e2be3e1116bbecec752e4fc9f Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 26 Aug 2021 08:15:21 -0700 Subject: [PATCH] docs(router): Fix incorrect name for url match options (#43268) fixes #43123 PR Close #43268 --- packages/router/src/router.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/router/src/router.ts b/packages/router/src/router.ts index f1641ac8588..d86c54f8824 100644 --- a/packages/router/src/router.ts +++ b/packages/router/src/router.ts @@ -362,7 +362,7 @@ type LocationChangeInfo = { }; /** - * The equivalent `IsActiveUrlTreeOptions` options for `Router.isActive` is called with `true` + * The equivalent `IsActiveMatchOptions` options for `Router.isActive` is called with `true` * (exact = true). */ export const exactMatchOptions: IsActiveMatchOptions = { @@ -373,7 +373,7 @@ export const exactMatchOptions: IsActiveMatchOptions = { }; /** - * The equivalent `IsActiveUrlTreeOptions` options for `Router.isActive` is called with `false` + * The equivalent `IsActiveMatchOptions` options for `Router.isActive` is called with `false` * (exact = false). */ export const subsetMatchOptions: IsActiveMatchOptions = { @@ -1318,9 +1318,9 @@ export class Router { * Returns whether the url is activated. * * @deprecated - * Use `IsActiveUrlTreeOptions` instead. + * Use `IsActiveMatchOptions` instead. * - * - The equivalent `IsActiveUrlTreeOptions` for `true` is + * - The equivalent `IsActiveMatchOptions` for `true` is * `{paths: 'exact', queryParams: 'exact', fragment: 'ignored', matrixParams: 'ignored'}`. * - The equivalent for `false` is * `{paths: 'subset', queryParams: 'subset', fragment: 'ignored', matrixParams: 'ignored'}`.