---
lang: en
title: 'API docs: context.bindingtemplate'
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.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;
```
<b>References:</b> [Binding](./context.binding.md)


