GitHub

DaffCustomerClearErrorsGuard

import { DaffCustomerClearErrorsGuard } from '@daffodil/customer/routing'

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

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