import { PropertyValidator } from "../PropertyValidator" ; export class implements PropertyValidator < Date > export class IsBeforeValidator implements PropertyValidator < Date > { constructor ( private date ) { } isValid ( input ) { if ( input ) { return input . getTime ( ) < this . date . getTime ( ) ; } return false ; } }