Docs (4.0.0)

type BindingOrValue

A type that maps to the specified type or a Binding instance.

type BindingOrValue<T> = T | {
    [BindingOrValue.TYPE_CHECK]: () => T;


  • This type can be used in object types or function arguments, to allow both a direct value and a binding.

Static Members

  • TYPE_CHECK staticA symbol that’s used for type checking only.