[F] getReturnTypeChangedFrom
function getReturnTypeChangedFrom(p, t): undefined | Map<Version, Type>
Returns the mapping of versions to old return type values, if applicable
Parameters
Parameter | Type | Description |
---|---|---|
p | Program | TypeSpec program |
t | Type | type to query |
Returns
undefined
| Map
<Version
, Type
>
Map of versions to old types, if any