@flex-development/tutils
Version:
TypeScript utilities
14 lines (13 loc) • 371 B
text/typescript
/**
* @file Type Definitions - OrDeepPartial
* @module tutils/types/OrDeepPartial
*/
import type DeepPartial from './deep-partial.mjs';
/**
* Constructs a type representing all properties of `T` or recursively, a subset
* of properties.
*
* @template T - Value type
*/
declare type OrDeepPartial<T> = DeepPartial<T> | T;
export { type OrDeepPartial as default };