Avoid lint warning:
"In the class "NotBeforeMomentValidatorDirective", the directive input
property "egNotBeforeMoment" should not be renamed."
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
}]
})
export class NotBeforeMomentValidatorDirective {
- @Input('egNotBeforeMoment') egNotBeforeMoment: Moment;
+ @Input('egNotBeforeMoment') notBeforeMoment: Moment;
validate(control: AbstractControl): {[key: string]: any} | null {
- return this.egNotBeforeMoment ?
- notBeforeMomentValidator(this.egNotBeforeMoment)(control)
+ return this.notBeforeMoment ?
+ notBeforeMomentValidator(this.notBeforeMoment)(control)
: null;
}
}