GitHub

DaffCustomerPaymentClearErrorsGuard

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

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

Properties

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