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.

7 lines (6 loc) 223 B
import { PropertyParser } from '../types'; export declare abstract class PropertyParserAbstract<T> implements PropertyParser<T> { private readonly _uuid; get uuid(): string; abstract parse(value: unknown): T; }