UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

6 lines (5 loc) 177 B
/** * @public */ // eslint-disable-next-line @typescript-eslint/no-explicit-any export type TMaybeObject<T extends Record<string, any>> = T | Partial<Record<keyof T, never>>;