---
jsApi: true
title: "[I] DecoratorFunction"

---
```ts
DecoratorFunction(
   program, 
   target, ...
   customArgs): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | [`DecoratorContext`](DecoratorContext.md) |
| `target` | `any` |
| ...`customArgs` | `any`[] |

## Returns

`void`

## Properties

| Property | Type | Description |
| :------ | :------ | :------ |
| `namespace?` | `string` | - |
