@loopback/docs
Version:
Documentation for LoopBack 4
23 lines (15 loc) • 700 B
Markdown
---
lang: en
title: 'API docs: context.injectionmetadata.decorator'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
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;
```