@metreeca/core - v0.9.11
    Preparing search index...

    Type Alias Condition<C>

    Condition: {
        readonly [K in keyof C]: { [P in K]: C[P] } & {
            [P in Exclude<keyof C, K>]?: never
        }
    }[keyof C]

    Condition value.

    Represents a specific state with exactly one active property from the condition patterns. TypeScript enforces mutual exclusivity, preventing invalid multi-variant values at compile time.

    Type Parameters

    • C extends Conditions

      The condition patterns defining available states