API reference / @evolu/common / Type / InferParentError
Type Alias: InferParentError<A>
type InferParentError<A> =
A extends Type<any, any, any, any, any, infer ParentError>
? ParentError
: never;
Defined in: packages/common/src/Type.ts:458
Extracts the parent error type from a Type.
Type Parameters
| Type Parameter |
|---|
A extends AnyType |