---
lang: en
title: 'API docs: metadata.namespacedreflect.decorate_1'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/metadata
permalink: /doc/en/lb4/apidocs.metadata.namespacedreflect.decorate_1.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/metadata](./metadata.md) &gt; [NamespacedReflect](./metadata.namespacedreflect.md) &gt; [decorate](./metadata.namespacedreflect.decorate_1.md)

## NamespacedReflect.decorate() method

**Signature:**

```typescript
decorate(decorators: ClassDecorator[], target: Object): PropertyDescriptor | Function;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  decorators | ClassDecorator\[\] |  |
|  target | Object |  |

**Returns:**

PropertyDescriptor \| Function


