PURISTA API / @purista/core / convertEmitValidationsToSchema
Function: convertEmitValidationsToSchema()
convertEmitValidationsToSchema<
T
>(emits
):Promise
<FromEmitToOtherType
<T
,SchemaObject
>>
Defined in: packages/core/src/helper/convertEmitValidationsToSchema.impl.ts:11
Type Parameters
T
T
extends InputType
Parameters
emits
T
Returns
Promise
<FromEmitToOtherType
<T
, SchemaObject
>>