UNPKG

bookish-potato-dto

Version:

A TypeScript DTO (Data Transfer Object) parsing and validation library. Define a schema once — get runtime validation and a fully inferred TypeScript type for free.

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; }