import { PropertyValidator } from "../PropertyValidator" ; export class implements PropertyValidator < T > template T export class IsEqualValidator < T > implements PropertyValidator < T > { constructor ( private comparison ) { } isValid ( input ) { return this . comparison === input ; } }