GitHub

DaffCustomerStoreCreditClearErrorsGuard

import { DaffCustomerStoreCreditClearErrorsGuard } from '@daffodil/customer-store-credit/routing'

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

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