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) 79 B
export interface Range { readonly min: number; readonly max: number; }