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

---
```ts
$typeChangedFrom(
   context, 
   prop, 
   v, 
   oldType): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | `DecoratorContext` |
| `prop` | `ModelProperty` |
| `v` | `EnumMember` |
| `oldType` | `any` |

## Returns

`void`
