UNPKG

@loopback/docs

Version:

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

53 lines (29 loc) 1.01 kB
--- lang: en title: 'API docs: context.injectable' 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.injectable.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [injectable](./context.injectable.md) ## injectable namespace A namespace to host shortcuts for `@injectable` **Signature:** ```typescript export declare namespace injectable ``` ## Functions <table><thead><tr><th> Function </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [provider(specs)](./context.injectable.provider.md) </td><td markdown="1"> `@injectable.provider` to denote a provider class A list of binding scope/tags or template functions to configure the binding </td></tr> </tbody></table>