@tempots/dom

OneOfOptions type

Represents a set of options for a one-of type.

Signature:

export type OneOfOptions<T extends Record<string, unknown>> = {
    [KK in keyof T]: (value: Signal<T[KK]>) => TNode;
};

References: Signal, TNode