docs(router): fix typo in canLoad interface doc comment (#14519)

This commit is contained in:
Ward Bell 2017-02-18 14:28:45 -08:00 committed by Igor Minar
parent 0cf753be30
commit 5129e8e47c
1 changed files with 1 additions and 3 deletions

View File

@ -329,9 +329,7 @@ export interface Resolve<T> {
* class CanLoadTeamSection implements CanLoad { * class CanLoadTeamSection implements CanLoad {
* constructor(private permissions: Permissions, private currentUser: UserToken) {} * constructor(private permissions: Permissions, private currentUser: UserToken) {}
* *
* canLoad(route: Route( * canLoad(route: Route): Observable<boolean>|Promise<boolean>|boolean {
* route: Route
* ): Observable<boolean>|Promise<boolean>|boolean {
* return this.permissions.canLoadChildren(this.currentUser, route); * return this.permissions.canLoadChildren(this.currentUser, route);
* } * }
* } * }