---
lang: en
title: 'API docs: context.bindingtemplate'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.context.bindingtemplate.html
---

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

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [BindingTemplate](./context.bindingtemplate.md)

## BindingTemplate type

A function as the template to configure bindings

<b>Signature:</b>

```typescript
export declare type BindingTemplate<T = unknown> = (binding: Binding<T>) => void;
```

