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.

8 lines (7 loc) 140 B
export interface HasUuid { /** * Unique identifier for the object. * @default undefined */ readonly uuid?: string; }