UNPKG

@loopback/docs

Version:
35 lines (24 loc) 1.19 kB
--- lang: en title: 'API docs: context.injection' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.context.injection.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [Injection](./context.injection.md) ## Injection interface Descriptor for an injection point <b>Signature:</b> ```typescript export interface Injection<ValueType = BoundValue> ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [bindingSelector](./context.injection.bindingselector.md) | <code>BindingSelector&lt;ValueType&gt;</code> | | | [member](./context.injection.member.md) | <code>string</code> | | | [metadata](./context.injection.metadata.md) | <code>InjectionMetadata</code> | | | [methodDescriptorOrParameterIndex](./context.injection.methoddescriptororparameterindex.md) | <code>TypedPropertyDescriptor&lt;ValueType&gt; &#124; number</code> | | | [resolve](./context.injection.resolve.md) | <code>ResolverFunction</code> | | | [target](./context.injection.target.md) | <code>Object</code> | |