Skip to content

[F] getDeprecationDetails

function getDeprecationDetails(program, typeOrNode): undefined | DeprecationDetails

Returns complete deprecation details for the given type or node

Parameters

ParameterTypeDescription
programProgramProgram
typeOrNodeNode | TypeA Type or Node to check for deprecation

Returns

undefined | DeprecationDetails