UNPKG

decoval

Version:

DecoVal is a decorator-driven validation pattern that allows you to add validation rules directly to the properties of TypeScript classes, simplifying data control and increasing code readability and reusability.

3 lines (2 loc) 156 B
import { ValEnumOptions } from "../types/dv/val-enum"; export declare function DvEnum(options: ValEnumOptions): (target: any, propertyKey: string) => void;