GitHub

DaffCustomerPaymentClearErrorsGuard

import { DaffCustomerPaymentClearErrorsGuard } from '@daffodil/customer-payment/routing'

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

@Injectable()
class DaffCustomerPaymentClearErrorsGuard {
  canDeactivate(): boolean | UrlTree | Observable<boolean | UrlTree> | Promise<boolean | UrlTree>
}