gradum-kit - v0.1.0
    Preparing search index...

    Type Alias PropertyConfig<Type, State, ClassType>

    PropertyConfig:
        | PartialRecord<State, Type | ReifectInterpolator<Type, ClassType>>
        | Type
        | StateInterpolator<Type, State, ClassType>

    Type Parameters

    • Type

      The type of the configured value.

    • State extends KeyType

      The set of states the reifect can switch between.

    • ClassType extends object = Element

      The type of the attached object.

    How a single reifect property may be configured: one value for every state, a value per state (each optionally interpolated per object), or a single StateInterpolator covering both.