From 4783a071f3452022bb230eef5b5d88d4e1845f19 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 9 Jul 2020 16:21:08 -0700 Subject: [PATCH] docs(router): fix routerLink docs (#37997) The current content for the routerLink commands input does not make it to aio. fixes #35414 PR Close #37997 --- packages/router/src/directives/router_link.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/router/src/directives/router_link.ts b/packages/router/src/directives/router_link.ts index 740c4e9d2c..4a37f6ccad 100644 --- a/packages/router/src/directives/router_link.ts +++ b/packages/router/src/directives/router_link.ts @@ -173,8 +173,7 @@ export class RouterLink { } /** - * @param commands An array of commands to pass to {@link Router#createUrlTree - * Router#createUrlTree}. + * Commands to pass to {@link Router#createUrlTree Router#createUrlTree}. * - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}. * - **string**: shorthand for array of commands with just the string, i.e. `['/route']` * - **null|undefined**: shorthand for an empty array of commands, i.e. `[]` @@ -306,8 +305,7 @@ export class RouterLinkWithHref implements OnChanges, OnDestroy { } /** - * @param commands An array of commands to pass to {@link Router#createUrlTree - * Router#createUrlTree}. + * Commands to pass to {@link Router#createUrlTree Router#createUrlTree}. * - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}. * - **string**: shorthand for array of commands with just the string, i.e. `['/route']` * - **null|undefined**: shorthand for an empty array of commands, i.e. `[]`