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) 218 B
import { PropertyData } from '../types'; type DatePropertyOptions = PropertyData<Date | string>; export declare function DateProperty(data?: DatePropertyOptions): (target: any, propertyKey: string) => void; export {};