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

---
```ts
$withDefaultKeyVisibility(
   context, 
   target, 
   visibility): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | [`DecoratorContext`](../interfaces/DecoratorContext.md) |
| `target` | [`Model`](../interfaces/Model.md) |
| `visibility` | `string` |

## Returns

`void`
