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