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.

2 lines (1 loc) 67 B
export type Exclusive<T, U> = (T & Partial<U>) | (U & Partial<T>);