Skip to content

@vttforge/core / ArrayFieldInstance

Interface: ArrayFieldInstance<Inner, O> ​

Anything that satisfies the FieldInstance shape. Used as the inner-field constraint on ArrayField and as the value type of SchemaField's child map. Keeps the conditional types in ./infer-schema.ts straightforward.

Extends ​

Type Parameters ​

Inner ​

Inner extends FieldInstance = FieldInstance

O ​

O extends ArrayFieldOptions = ArrayFieldOptions

Properties ​

[BRAND] ​

readonly [BRAND]: "array"

Overrides ​

FieldInstance.[BRAND]


element ​

readonly element: Inner


options ​

readonly options: O

Overrides ​

FieldInstance.options

MIT licensed.