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,
|
* component: Team,
|
||||||
* canActivate: [CanActivateTeam]
|
* canActivate: [CanActivateTeam]
|
||||||
* }])
|
* }])
|
||||||
* );
|
* ]);
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* You can also provide a function with the same signature instead of the class:
|
* 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,
|
* component: Team,
|
||||||
* canActivate: ['canActivateTeam']
|
* canActivate: ['canActivateTeam']
|
||||||
* }])
|
* }])
|
||||||
* );
|
* ]);
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @stable
|
* @stable
|
||||||
|
@ -77,7 +77,7 @@ export interface CanActivate {
|
||||||
* component: Team,
|
* component: Team,
|
||||||
* canDeactivate: [CanDeactivateTeam]
|
* canDeactivate: [CanDeactivateTeam]
|
||||||
* }])
|
* }])
|
||||||
* );
|
* ]);
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* You can also provide a function with the same signature instead of the class:
|
* You can also provide a function with the same signature instead of the class:
|
||||||
|
@ -91,7 +91,7 @@ export interface CanActivate {
|
||||||
* component: Team,
|
* component: Team,
|
||||||
* canActivate: ['canDeactivateTeam']
|
* canActivate: ['canDeactivateTeam']
|
||||||
* }])
|
* }])
|
||||||
* );
|
* ]);
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @stable
|
* @stable
|
||||||
|
@ -125,7 +125,7 @@ export interface CanDeactivate<T> {
|
||||||
* team: TeamResolver
|
* team: TeamResolver
|
||||||
* }
|
* }
|
||||||
* }])
|
* }])
|
||||||
* );
|
* ]);
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* You can also provide a function with the same signature instead of the class.
|
* You can also provide a function with the same signature instead of the class.
|
||||||
|
|
Loading…
Reference in New Issue