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

---
```ts
$patch(context, entity): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | `DecoratorContext` |
| `entity` | `Operation` |

## Returns

`void`
