---
lang: en
title: 'API docs: context.classbindingsource'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.classbindingsource.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [ClassBindingSource](./context.classbindingsource.md)

## ClassBindingSource type

Binding source for `toClass`

<b>Signature:</b>

```typescript
export declare type ClassBindingSource<T> = {
    type: BindingType.CLASS;
    value: Constructor<T>;
};
```
<b>References:</b> [BindingType.CLASS](./context.bindingtype.class.md)<!-- -->, [Constructor](./context.constructor.md)


