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

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

## Parameters

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

## Returns

`void`
