FormElementMapping<T>: T & ({
    formElementId: string;
    mapping: FormElementMapping<T>;
    type: "FORM_FORM_ELEMENT";
} | {
    formElementId: string;
    type: "FORM_ELEMENT";
} | {
    type: "VALUE";
    value: number | string | boolean | string[];
} | {
    type: "SUBMISSION_ID";
} | {
    type: "EXTERNAL_ID";
})

Type Parameters

  • T