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
This commit is contained in:
Andrew Scott 2020-07-09 16:21:08 -07:00
parent 9322b9a060
commit 4783a071f3
1 changed files with 2 additions and 4 deletions

View File

@ -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. `[]`