remix/data-schema · Type

View Source

InferInput

Summary

Infers the input type of a schema-like value.

Signature

type InferInput<schema> = schema extends StandardSchemaV1<infer input, any> ? input : never