@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
35 lines (24 loc) • 1.15 kB
Markdown
---
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) > [@loopback/context](./context.md) > [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>"Alias"</code> | A alias to another binding key with optional path |
| CLASS | <code>"Class"</code> | A class to be instantiated as the value |
| CONSTANT | <code>"Constant"</code> | A fixed value |
| DYNAMIC\_VALUE | <code>"DynamicValue"</code> | A function to get the value |
| PROVIDER | <code>"Provider"</code> | A provider class with <code>value()</code> function to get the value |