Page Contents

Home > @loopback/context > BindingType

BindingType enum

Type of the binding source

Signature:

export declare enum BindingType 

Enumeration Members

Member Value Description
ALIAS `"Alias"` A alias to another binding key with optional path
CLASS `"Class"` A class to be instantiated as the value
CONSTANT `"Constant"` A fixed value
DYNAMIC\_VALUE `"DynamicValue"` A function to get the value
PROVIDER `"Provider"` A provider class with `value()` function to get the value