Skip to content

[F] getDeprecationDetails

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

Returns complete deprecation details for the given type or node

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

DeprecationDetails | undefined