docs(router): fix typo in canLoad interface doc comment (#14519)
This commit is contained in:
parent
0cf753be30
commit
5129e8e47c
|
@ -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);
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
|
|
Loading…
Reference in New Issue