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) 97 B
export interface NumberRange { readonly minValue?: number; readonly maxValue?: number; }