UNPKG

bookish-potato-dto

Version:

## Overview A TypeScript decorators-based API for defining Data Transfer Object (DTO) classes, types, and parsers. Simplifies schema validation and type enforcement using intuitive decorators and TypeScript classes.

5 lines (4 loc) 241 B
import { PropertyData } from '../types'; type PropertyDecoratorRegexData = PropertyData<string>; export declare function RegexProperty(regex: RegExp, data?: PropertyDecoratorRegexData): (target: any, propertyKey: string) => void; export {};