docs(router): migrate deprecated @howToUse tags (#23187)

These have been converted to `@usageNotes` or included in the
`@description` tag.

PR Close #23187
This commit is contained in:
Pete Bacon Darwin
2018-04-05 11:38:57 +01:00
committed by Igor Minar
parent 92821e338b
commit f66f408b04
10 changed files with 52 additions and 58 deletions

View File

@ -16,7 +16,7 @@ import {ActivatedRouteSnapshot, RouterStateSnapshot} from './router_state';
* @whatItDoes Interface that a class can implement to be a guard deciding if a route can be
* activated.
*
* @howToUse
* @description
*
* ```
* class UserToken {}
@ -87,7 +87,7 @@ export interface CanActivate {
* @whatItDoes Interface that a class can implement to be a guard deciding if a child route can be
* activated.
*
* @howToUse
* @description
*
* ```
* class UserToken {}
@ -168,7 +168,7 @@ export interface CanActivateChild {
* @whatItDoes Interface that a class can implement to be a guard deciding if a route can be
* deactivated.
*
* @howToUse
* @description
*
* ```
* class UserToken {}
@ -242,7 +242,7 @@ export interface CanDeactivate<T> {
/**
* @whatItDoes Interface that class can implement to be a data provider.
*
* @howToUse
* @description
*
* ```
* class Backend {
@ -315,7 +315,7 @@ export interface Resolve<T> {
* @whatItDoes Interface that a class can implement to be a guard deciding if a children can be
* loaded.
*
* @howToUse
* @description
*
* ```
* class UserToken {}