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) 258 B
import { PropertyData, StringLength } from '../types'; type PropertyDecoratorStringData = PropertyData<string> & StringLength; export declare function StringProperty(data?: PropertyDecoratorStringData): (target: any, propertyKey: string) => void; export {};