PURISTA API / @purista/core / InferTypeOrEmptyObject
Type Alias: InferTypeOrEmptyObject<T>
InferTypeOrEmptyObject<
T
> =T
extendsSchema
?Infer
<T
> extendsEmptyObject
?Infer
<T
> :EmptyObject
:EmptyObject
Defined in: packages/core/src/core/types/InferTypeOrEmptyObject.ts:4
Type Parameters
T
T
extends Schema
| undefined