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

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

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [Binding](./context.binding.md) &gt; [providerConstructor](./context.binding.providerconstructor.md)

## Binding.providerConstructor property

For bindings bound via `toProvider()`<!-- -->, this property contains the constructor function of the provider class

<b>Signature:</b>

```typescript
get providerConstructor(): Constructor<Provider<T>> | undefined;
```

