@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
26 lines (17 loc) • 745 B
Markdown
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) > [@loopback/context](./context.md) > [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)