Skip to content

[F] getDeprecationDetails

function getDeprecationDetails(program, typeOrNode): undefined | DeprecationDetails;

Returns complete deprecation details for the given type or node

ParameterTypeDescription
programProgramProgram
typeOrNodeType | NodeA Type or Node to check for deprecation

undefined | DeprecationDetails