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

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

## Parameters

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

## Returns

`void`
