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.

5 lines (4 loc) 146 B
export declare function DvIP(options?: { version?: "v4" | "v6" | "any"; message?: string; }): (target: any, propertyKey: string) => void;