---
lang: en
title: 'API docs: context.constantbindingsource'
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.constantbindingsource.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [ConstantBindingSource](./context.constantbindingsource.md)

## ConstantBindingSource type

Binding source for `to`

<b>Signature:</b>

```typescript
export declare type ConstantBindingSource<T> = {
    type: BindingType.CONSTANT;
    value: T;
};
```
<b>References:</b> [BindingType.CONSTANT](./context.bindingtype.md)


