import { PropertyValidator } from "../PropertyValidator" ; export class implements PropertyValidator < number > export class IsLessThanValidator implements PropertyValidator < number > { constructor ( private threshold ) { } isValid ( input ) { if ( typeof input === "undefined" || input === null ) { return false ; } return input < this . threshold ; } }