docs(router): fix syntax in code example of comment block (#10026)

This commit is contained in:
Codebacca 2016-07-14 00:26:26 +10:00 committed by Victor Berchet
parent e7a8e2757b
commit 4ac76ca281
1 changed files with 5 additions and 5 deletions

View File

@ -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.