import { ValidatorFn } from "@angular/forms" ; import { BaseConfig } from "../models/config/base-config" ; import { evenValidator } from '../reactive-form-validators/index' ; import { AnnotationTypes } from "../core/validator.static" ; import { baseValidator } from "./base-validator.function" ; export function evenValidatorExtension ( config ? ) { return baseValidator ( config , AnnotationTypes . even , evenValidator ( config ) ) ; }