An interface implemented by classes that perform synchronous validation.
interface Validator {interface Validator { validate(control: AbstractControl<any, any>): ValidationErrors; optional registerOnValidatorChange(fn: () => void): void;}}