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) 322 B
import { PropertyParser } from '../types'; import { PropertyParserAbstract } from './property-parser.abstract'; export declare class PropertyParserStringToBooleanDecorator extends PropertyParserAbstract<boolean> { private parser; constructor(parser: PropertyParser<boolean>); parse(value: unknown): boolean; }