import { PropertyValidator } from "../PropertyValidator" ; export class implements PropertyValidator < number > export class IsGreaterThanValidator implements PropertyValidator < number > { constructor ( private threshold ) { } isValid ( input ) { if ( input ) { return input > this . threshold ; } return false ; } }