InferSchema
@daydreamsai/core / InferSchema
Type Alias: InferSchema<T>
InferSchema<
T> =Textendsobject?z.infer<S> :unknown
Defined in: packages/core/src/types.ts:38
Infers the schema type from an object with an optional schema property
Type Parameters
T
T
The object type that may have a schema