( route: ActivatedRouteSnapshot, state: RouterStateSnapshot, )
| 47 | } |
| 48 | |
| 49 | const canActivateTeam: CanActivateFn = ( |
| 50 | route: ActivatedRouteSnapshot, |
| 51 | state: RouterStateSnapshot, |
| 52 | ) => { |
| 53 | return inject(PermissionsService).canActivate(inject(UserToken), route.params['id']); |
| 54 | }; |
| 55 | // #enddocregion |
| 56 | |
| 57 | // #docregion CanActivateFnInRoute |
nothing calls this directly
no test coverage detected
searching dependent graphs…