(fieldName: string, fieldCreator: (...args: any) => Field) => void
Adds a custom field to
FieldCreator.prototype) so it can be used just like the pre-defined fields (e.g.
addField statments should be placed in a top level file.
Name of the field
(...args: any) => Field
A function that creates a subclass of
Using the previously added field would look like so: