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

---
```ts
$returnTypeChangedFrom(
   context, 
   target, 
   version, 
   oldType): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | `DecoratorContext` |
| `target` | `Operation` |
| `version` | `EnumMember` |
| `oldType` | `Type` |

## Returns

`void`
