Page Contents

Home > @loopback/context > Injection

Injection interface

Descriptor for an injection point

Signature:

export interface Injection<ValueType = BoundValue> 

Properties

Property Modifiers Type Description

bindingSelector

BindingSelector<ValueType>

member?

string

(Optional)

metadata

InjectionMetadata

methodDescriptorOrParameterIndex?

TypedPropertyDescriptor<ValueType> | number

(Optional)

resolve?

ResolverFunction

(Optional)

target

Object