@tempots/dom > OneOfKindOptions
OneOfKindOptions type
The options for a one-of kind field.
Signature:
export type OneOfKindOptionsextends {
kind: string;
}> = {
[KK in T['kind']]: (value: Signalextends {
kind: KK;
} ? T : never>) => TNode;
};
References: Signal, TNode