Interface ReactiveStructConstructor<T, Def>

Constructor for reactive struct instances reactiveStruct.

interface ReactiveStructConstructor<T, Def> {
    new ReactiveStructConstructor(
        ...args: ConstructorArgs<ConstructorProps<PropertyMembers<T, Def>>>,
    ): T;
}

Type Parameters

  • T

    The type of the struct.

  • Def

    The definition of the struct.

Constructors

Constructors

  • Creates a new reactive struct instance.

    Parameters

    • ...args: ConstructorArgs<ConstructorProps<PropertyMembers<T, Def>>>

    Returns T