Skip to content

True Myth / standard-schema / StandardSchemaV1 / InferOutput

Type Alias: InferOutput<Schema>

InferOutput<Schema> = NonNullable<Schema["~standard"]["types"]>["output"]

Infers the output type of a Standard Schema.

Type Parameters

Schema

Schema extends StandardSchemaV1