Skip to content

[F] getReturnTypeChangedFrom

function getReturnTypeChangedFrom(p, t): Map<Version, Type> | undefined

Returns the mapping of versions to old return type values, if applicable

Parameters

ParameterTypeDescription
pProgramTypeSpec program
tTypetype to query

Returns

Map<Version, Type> | undefined

Map of versions to old types, if any