UNPKG

@loopback/docs

Version:
34 lines (23 loc) 1.04 kB
--- lang: en title: 'API docs: context.bindingtype' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.context.bindingtype.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [BindingType](./context.bindingtype.md) ## BindingType enum Type of the binding source <b>Signature:</b> ```typescript export declare enum BindingType ``` ## Enumeration Members | Member | Value | Description | | --- | --- | --- | | ALIAS | <code>&quot;Alias&quot;</code> | A alias to another binding key with optional path | | CLASS | <code>&quot;Class&quot;</code> | A class to be instantiated as the value | | CONSTANT | <code>&quot;Constant&quot;</code> | A fixed value | | DYNAMIC\_VALUE | <code>&quot;DynamicValue&quot;</code> | A function to get the value | | PROVIDER | <code>&quot;Provider&quot;</code> | A provider class with <code>value()</code> function to get the value |