@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
24 lines (16 loc) • 812 B
Markdown
---
lang: en
title: 'API docs: context.injectionmetadata.decorator'
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.injectionmetadata.decorator.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [InjectionMetadata](./context.injectionmetadata.md) > [decorator](./context.injectionmetadata.decorator.md)
## InjectionMetadata.decorator property
Name of the decorator function, such as `@inject` or `@inject.setter`<!-- -->. It's usually set by the decorator implementation.
<b>Signature:</b>
```typescript
decorator?: string;
```