UNPKG

@webnotion-net/typescript-model-validator

Version:

Flexible and extensible library for validating data models in TypeScript

7 lines (6 loc) 273 B
import GloballyValidatableModelInterface from "../../models/GloballyValidatableModelInterface"; interface GlobalConstraintInterface { validate(data: GloballyValidatableModelInterface): boolean; getErrorMessage(): string; } export default GlobalConstraintInterface;