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.

5 lines (4 loc) 100 B
export interface StringLength { readonly minLength?: number; readonly maxLength?: number; }