type
FieldEditorValue
The value your field component reads and writes. Date and code fields contain strings.
Full signature
type FieldEditorValue<Type extends FieldEditorType> = Type extends "text-list"
? string[]
: Type extends "number-list"
? number[]
: Type extends "number"
? number
: Type extends "checkbox"
? boolean
: string