import { PropertyValidator } from "../PropertyValidator" ; export class implements PropertyValidator < any > export class IsBooleanValidator implements PropertyValidator < any > { isValid ( input ) { return input instanceof Boolean || typeof input === "boolean" ; } }