@flex-development/tutils
Version:
TypeScript utilities
13 lines (12 loc) • 300 B
text/typescript
/**
* @file Type Definitions - OrPartial
* @module tutils/types/OrPartial
*/
/**
* Constructs a type representing all properties of `T` or recursively, a subset
* of properties.
*
* @template T - Value type
*/
declare type OrPartial<T> = Partial<T> | T;
export { type OrPartial as default };