@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
29 lines (20 loc) • 829 B
Markdown
---
lang: en
title: 'API docs: context.classbindingsource'
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.classbindingsource.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [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.md)<!-- -->, [Constructor](./context.constructor.md)