src/app/validators/custom-validators.ts
Function endDateValidator
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static endDateValidator(): ValidatorFn {
let startDate: AbstractControl;
let endDate: AbstractControl;
// for unsubscribing from Observables