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.

6 lines (5 loc) 216 B
import { PropertyParserAbstract } from './property-parser.abstract'; export declare class PropertyParserInteger extends PropertyParserAbstract<number> { parse(value: unknown): number; private checkInteger; }