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