CanActivateFn
Type Alias
The signature of a function used as a canActivate
guard on a Route
.
API
Description
type CanActivateFn = ( route: ActivatedRouteSnapshot, state: RouterStateSnapshot,) => MaybeAsync<GuardResult>
Jump to details
The signature of a function used as a canActivate
guard on a Route
.
type CanActivateFn = ( route: ActivatedRouteSnapshot, state: RouterStateSnapshot,) => MaybeAsync<GuardResult>