---
jsApi: true
title: "[F] $package"

---
```ts
$package(
  ctx,
  target,
  details?): void
```

Declare a Protobuf package.

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `ctx` | `DecoratorContext` | decorator context |
| `target` | `Namespace` | target decorator namespace |
| `details`? | `Model` | - |

## Returns

`void`
