GitHub

DaffCustomerClearErrorsGuard

A guard that will clear customer state errors before allowing route deactivation.

import { DaffCustomerClearErrorsGuard } from '@daffodil/customer/routing'
@Injectable()
class DaffCustomerClearErrorsGuard {
  canDeactivate(): boolean | UrlTree | Observable<boolean | UrlTree> | Promise<boolean | UrlTree>
}

Properties

Name Type Description
canDeactivate boolean | UrlTree | Observable<boolean | UrlTree> | Promise<boolean | UrlTree>