CanDeactivateFn
Type Alias
The signature of a function used as a canDeactivate
guard on a Route
.
API
Description
type CanDeactivateFn = ( component: T, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState: RouterStateSnapshot,) => MaybeAsync<GuardResult>
Jump to details