Roqueform
    Preparing search index...

    Type Alias FieldPlugin<Value, Mixin>

    FieldPlugin: { bivarianceHack(field: Field<Value, Mixin>): void }["bivarianceHack"]

    The callback that constrains the value of the field and enhances it with a mixin. Plugin can mutate the provided field instance.

    Type Parameters

    • Value = any

      The field value required by the plugin.

    • Mixin extends object = {}

      The mixin that this plugin adds to the field.

    The mutable field that must be enhanced.