@loopback/docs
Version:
Documentation for LoopBack 4
30 lines (22 loc) • 770 B
Markdown
lang: en
title: 'API docs: context.bindingfromclassoptions'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.context.bindingfromclassoptions.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [BindingFromClassOptions](./context.bindingfromclassoptions.md)
## BindingFromClassOptions type
Options to customize the binding created from a class
<b>Signature:</b>
```typescript
export declare type BindingFromClassOptions = {
key?: BindingAddress;
type?: string;
name?: string;
namespace?: string;
typeNamespaceMapping?: TypeNamespaceMapping;
defaultScope?: BindingScope;
};
```