@tempots/dom

OneOfFieldOptions type

Represents the options for a one-of field.

Signature:

export type OneOfFieldOptionsextends {
    [_ in K]: string;
}, K extends string> = {
    [KK in T[K]]: (value: Signalextends {
        [_ in K]: KK;
    } ? T : never>) => TNode;
};

References: Signal, TNode