DirectInput
Defined in: input.ts:73
Input specification for inline data.
Directly provides data without file I/O. Useful for testing and computed inputs.
Type Parameters
Section titled “Type Parameters”T
The type of the inline data
Properties
Section titled “Properties”__type?
Section titled “__type?”
readonlyoptional__type:T
Defined in: input.ts:75
Phantom type marker for output type inference
readonlydata:T
Defined in: input.ts:79
The inline data value
readonlytype:"DirectInput"
Defined in: input.ts:77
Discriminator for input type
Methods
Section titled “Methods”validate()
Section titled “validate()”validate<
V>(schema):ValidatedDirectInput<V>
Defined in: input.ts:81
Attach a validation schema to this input
Type Parameters
Section titled “Type Parameters”V
Parameters
Section titled “Parameters”schema
Section titled “schema”Schema<V>