docs(router): fix syntax in code example of comment block (#10026)
This commit is contained in:
parent
e7a8e2757b
commit
4ac76ca281
|
@ -31,7 +31,7 @@ import {ActivatedRouteSnapshot, RouterStateSnapshot} from './router_state';
|
|||
* component: Team,
|
||||
* canActivate: [CanActivateTeam]
|
||||
* }])
|
||||
* );
|
||||
* ]);
|
||||
* ```
|
||||
*
|
||||
* You can also provide a function with the same signature instead of the class:
|
||||
|
@ -45,7 +45,7 @@ import {ActivatedRouteSnapshot, RouterStateSnapshot} from './router_state';
|
|||
* component: Team,
|
||||
* canActivate: ['canActivateTeam']
|
||||
* }])
|
||||
* );
|
||||
* ]);
|
||||
* ```
|
||||
*
|
||||
* @stable
|
||||
|
@ -77,7 +77,7 @@ export interface CanActivate {
|
|||
* component: Team,
|
||||
* canDeactivate: [CanDeactivateTeam]
|
||||
* }])
|
||||
* );
|
||||
* ]);
|
||||
* ```
|
||||
*
|
||||
* You can also provide a function with the same signature instead of the class:
|
||||
|
@ -91,7 +91,7 @@ export interface CanActivate {
|
|||
* component: Team,
|
||||
* canActivate: ['canDeactivateTeam']
|
||||
* }])
|
||||
* );
|
||||
* ]);
|
||||
* ```
|
||||
*
|
||||
* @stable
|
||||
|
@ -125,7 +125,7 @@ export interface CanDeactivate<T> {
|
|||
* team: TeamResolver
|
||||
* }
|
||||
* }])
|
||||
* );
|
||||
* ]);
|
||||
* ```
|
||||
*
|
||||
* You can also provide a function with the same signature instead of the class.
|
||||
|
|
Loading…
Reference in New Issue