API reference / @evolu/common / Type / MergeObjectTypeErrors
Type Alias: MergeObjectTypeErrors<T>
type MergeObjectTypeErrors<T> =
T extends ObjectType<infer Props>
? ObjectError<{ [K in keyof Props]: InferErrors<Props[K]> }>
: never;
Defined in: packages/common/src/Type.ts:2813
Merge Error and ParentError into one ObjectError so tooltips and error messages are easier to read.
Type Parameters
Type Parameter |
---|
T extends ObjectType <any > |