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

---
```ts
$service(
  context,
  target,
  options?): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | [`DecoratorContext`](Interface.DecoratorContext.md) |
| `target` | [`Namespace`](Interface.Namespace.md) |
| `options`? | [`Model`](Interface.Model.md) |

## Returns

`void`
