UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

35 lines (24 loc) 1.15 kB
--- lang: en title: 'API docs: context.bindingtype' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context 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 |