Type alias Binding<T>

Binding<T>: T extends string
    ? StringBinding
    : T extends number
        ? NumberBinding
        : T extends boolean
            ? BooleanBinding
            : T extends string[]
                ? StringArrayBinding
                : T extends number[]
                    ? NumberArrayBinding
                    : BindingLiteralValue<T>

A binding that can be dynamically evaluated to a value.

Type Parameters

  • T

Example

{
"id": "MyConfigField",
"type": "checkbox",
},
{
// ...
"visible": ["value", "MyConfigField"],
},