import {Validator} from './Validator'; export class UnCheckedValidator extends Validator { constructor(value?: T, target?: E, event?: Event, autoValid = true) { super(value, target, event, autoValid); } valid(): boolean { return !((this.getTarget() as any)?.checked ?? false); } }