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

---
```ts
$withVisibility(
  context,
  target,
  ...visibilities): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | [`DecoratorContext`](Interface.DecoratorContext.md) |
| `target` | [`Model`](Interface.Model.md) |
| ...`visibilities` | `string`[] |

## Returns

`void`
