ValidatedInput
Defined in: input.ts:110
Validated input wrapper that attaches a schema to an input.
Type Parameters
Section titled “Type Parameters”I extends BaseInput
The base input type
T
The validated output type
Properties
Section titled “Properties”__type?
Section titled “__type?”
readonlyoptional__type:T
Defined in: input.ts:118
Phantom type marker for validated output
__validated
Section titled “__validated”
readonly__validated:true
Defined in: input.ts:116
Marker to identify validated inputs
readonlyinput:I
Defined in: input.ts:112
The wrapped input
schema
Section titled “schema”
readonlyschema:Schema<T>
Defined in: input.ts:114
The validation schema