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

---
```ts
$renamedFrom(
   context, 
   t, 
   v, 
   oldName): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | `DecoratorContext` |
| `t` |    \| `Model`   \| `ModelProperty`   \| `Scalar`   \| `Enum`   \| `EnumMember`   \| `Operation`   \| `Union`   \| `UnionVariant`   \| `Interface` |
| `v` | `EnumMember` |
| `oldName` | `string` |

## Returns

`void`
