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.

8 lines (7 loc) 295 B
export interface PropertyParserStrictDataTypes { /** * If set to true, the parser will throw an error if the value is not of a correct type. * If set to false or not set, the parser will try to parse the value to the correct type. */ readonly strictDataTypes?: boolean; }