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.

6 lines (5 loc) 362 B
import { PropertyParserStrictDataTypes } from '../types/property-parser-strict-data-types.type'; import { PropertyData } from '../types'; type PropertyDecoratorBooleanData = PropertyData<boolean> & PropertyParserStrictDataTypes; export declare function BooleanProperty(data?: PropertyDecoratorBooleanData): (target: any, propertyKey: string) => void; export {};