Page Contents

Home > @loopback/context > BindingFromClassOptions

BindingFromClassOptions type

Options to customize the binding created from a class

Signature:

export type BindingFromClassOptions = {
    key?: BindingAddress;
    type?: string;
    name?: string;
    namespace?: string;
    typeNamespaceMapping?: TypeNamespaceMapping;
    defaultNamespace?: string;
    defaultScope?: BindingScope;
};

References: BindingAddress, TypeNamespaceMapping, BindingScope