Skip to main content

Type Alias: InferBaseType<T>

InferBaseType<T>: T extends BaseType<infer U> ? U : never

Infer the data type from a schema.

Type Parameters

Type ParameterDescription

T

The schema to infer the data type from.

Defined in

types/base.ts:32