UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

34 lines (25 loc) 1.1 kB
--- lang: en title: 'API docs: context.bindingfromclassoptions' 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.bindingfromclassoptions.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [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; defaultNamespace?: string; defaultScope?: BindingScope; }; ``` <b>References:</b> [BindingAddress](./context.bindingaddress.md)<!-- -->, [TypeNamespaceMapping](./context.typenamespacemapping.md)<!-- -->, [BindingScope](./context.bindingscope.md)